Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ def get_caption(image_in):
|
|
5 |
client = Client("https://vikhyatk-moondream1.hf.space/")
|
6 |
result = client.predict(
|
7 |
image_in, # filepath in 'image' Image component
|
8 |
-
"Describe the image
|
9 |
api_name="/answer_question"
|
10 |
)
|
11 |
print(result)
|
|
|
5 |
client = Client("https://vikhyatk-moondream1.hf.space/")
|
6 |
result = client.predict(
|
7 |
image_in, # filepath in 'image' Image component
|
8 |
+
"Describe the image", # str in 'Question' Textbox component
|
9 |
api_name="/answer_question"
|
10 |
)
|
11 |
print(result)
|