Spaces:
Runtime error
Runtime error
tlodato
commited on
Commit
·
46ee35a
1
Parent(s):
5473bc7
update
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ client = Client("https://adept-fuyu-8b-demo.hf.space/--replicas/9kcqv/")
|
|
8 |
filepath = "https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"
|
9 |
question = "what color is the bus?"
|
10 |
|
11 |
-
def vqa(image, prompt):
|
12 |
result = client.predict(image,prompt,fn_index=3)
|
13 |
return result
|
14 |
|
|
|
8 |
filepath = "https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png"
|
9 |
question = "what color is the bus?"
|
10 |
|
11 |
+
def vqa(image:str, prompt:str):
|
12 |
result = client.predict(image,prompt,fn_index=3)
|
13 |
return result
|
14 |
|