Spaces:
Build error
Build error
Update main.py
Browse files
main.py
CHANGED
|
@@ -521,7 +521,7 @@ def image_to_text(request: Request, input_data: InputImageToText):
|
|
| 521 |
client = Client("vikhyatk/moondream2")
|
| 522 |
result = client.predict(
|
| 523 |
"/tmp/img.jpg",
|
| 524 |
-
"",
|
| 525 |
api_name="/answer_question_1"
|
| 526 |
)
|
| 527 |
LoggaTesto("IMMAGINE", {"response": result}, False)
|
|
|
|
| 521 |
client = Client("vikhyatk/moondream2")
|
| 522 |
result = client.predict(
|
| 523 |
"/tmp/img.jpg",
|
| 524 |
+
"describe this image in detail",
|
| 525 |
api_name="/answer_question_1"
|
| 526 |
)
|
| 527 |
LoggaTesto("IMMAGINE", {"response": result}, False)
|