Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,3 +15,5 @@ def get_caption(image: str, question: str):
|
|
| 15 |
@app.post("/caption")
|
| 16 |
async def captioning(image: str, question):
|
| 17 |
return JSONResponse({"caption": asyncio.to_thread(get_caption, image, question)})
|
|
|
|
|
|
|
|
|
| 15 |
@app.post("/caption")
|
| 16 |
async def captioning(image: str, question):
|
| 17 |
return JSONResponse({"caption": asyncio.to_thread(get_caption, image, question)})
|
| 18 |
+
|
| 19 |
+
# yo
|