Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ from gradio_client import Client
|
|
17 |
async def C(x):
|
18 |
c = Client("https://ybelkada-llava-1-5-dlai.hf.space/--replicas/5ppw4/")
|
19 |
print(c.view_api(return_format="dict"))
|
20 |
-
result =
|
21 |
"Make a detailed description of the image. This would be sufficient for an LLM to answer questions about it with just your answer.",
|
22 |
"ip.png",
|
23 |
api_name="/predict"
|
|
|
17 |
async def C(x):
|
18 |
c = Client("https://ybelkada-llava-1-5-dlai.hf.space/--replicas/5ppw4/")
|
19 |
print(c.view_api(return_format="dict"))
|
20 |
+
result = c.predict(
|
21 |
"Make a detailed description of the image. This would be sufficient for an LLM to answer questions about it with just your answer.",
|
22 |
"ip.png",
|
23 |
api_name="/predict"
|