ipvikas commited on
Commit
f5bd615
Β·
1 Parent(s): 44a0642

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def get_quote(image):
56
  #import gradio as gr
57
  title = "Image to text generation"
58
 
59
- demo = gr.Interface(fn=get_quote, gr.Image(type="pil"), "image", outputs=['text'],title = title, description = "Import an image file and get text from it" ,cache_examples=False, enable_queue=True).launch()
60
  #inputs = "image"
61
  #inputs=gr.inputs.Image(type="pil")
62
  if __name__ == "__main__":
 
56
  #import gradio as gr
57
  title = "Image to text generation"
58
 
59
+ demo = gr.Interface(fn=get_quote, inputs=gr.inputs.Image(type="pil"), outputs=['text'],title = title, description = "Import an image file and get text from it" ,cache_examples=False, enable_queue=True).launch()
60
  #inputs = "image"
61
  #inputs=gr.inputs.Image(type="pil")
62
  if __name__ == "__main__":