Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def get_caption_from_kosmos(image_in):
|
|
| 62 |
return truncated_caption
|
| 63 |
|
| 64 |
def get_caption(image_in):
|
| 65 |
-
client = Client("https://vikhyatk-moondream1.hf.space
|
| 66 |
result = client.predict(
|
| 67 |
image_in, # filepath in 'image' Image component
|
| 68 |
"Describe precisely the image in one sentence.", # str in 'Question' Textbox component
|
|
|
|
| 62 |
return truncated_caption
|
| 63 |
|
| 64 |
def get_caption(image_in):
|
| 65 |
+
client = Client("https://vikhyatk-moondream1.hf.space/")
|
| 66 |
result = client.predict(
|
| 67 |
image_in, # filepath in 'image' Image component
|
| 68 |
"Describe precisely the image in one sentence.", # str in 'Question' Textbox component
|