tlodato commited on
Commit
e24cc46
·
1 Parent(s): a68c8de
Files changed (1) hide show
  1. app.py +1 -1
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:str, prompt:str):
12
  result = client.predict(image,prompt,fn_index=3)
13
  print("result: "+result)
14
  print("result lstrip"+result.lstrip())
 
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:str):
12
  result = client.predict(image,prompt,fn_index=3)
13
  print("result: "+result)
14
  print("result lstrip"+result.lstrip())