Geonmo commited on
Commit
de5f6fb
β€’
1 Parent(s): 20e434a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -251,10 +251,10 @@ if __name__ == '__main__':
251
  model_dict = load_models()
252
 
253
  # define gradio demo
254
- inputs = [gr.inputs.Image(type="pil", label="Image")
255
  ]
256
 
257
- outputs = gr.outputs.JSON()
258
 
259
  title = "Socratic models for image captioning with BLOOM"
260
 
 
251
  model_dict = load_models()
252
 
253
  # define gradio demo
254
+ inputs = [gr.Image(type="pil", label="Image")
255
  ]
256
 
257
+ outputs = gr.JSON()
258
 
259
  title = "Socratic models for image captioning with BLOOM"
260