RichardMB1217 commited on
Commit
7e9c1fa
·
1 Parent(s): 60451b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def inference(raw_image, model_n, question, strategy):
58
  return 'answer: '+answer[0]
59
 
60
  inputs = [
61
- gr.Image(type='pil', interactive=False),
62
  gr.inputs.Radio(choices=['Image Captioning',"Visual Question Answering"],
63
  type="value",
64
  default="Image Captioning",
 
58
  return 'answer: '+answer[0]
59
 
60
  inputs = [
61
+ gr.Image(type='pil', interactive=True),
62
  gr.inputs.Radio(choices=['Image Captioning',"Visual Question Answering"],
63
  type="value",
64
  default="Image Captioning",