Pranav0gp commited on
Commit
7edba3e
·
1 Parent(s): 62179df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def captioner(image):
30
  result = get_completion(base64_image)
31
  return result[0]['generated_text']
32
 
33
- gr.close_all()
34
  demo = gr.Interface(fn=captioner,
35
  inputs=[gr.Image(label="Upload image", type="pil")],
36
  outputs=[gr.Textbox(label="Caption")],
 
30
  result = get_completion(base64_image)
31
  return result[0]['generated_text']
32
 
33
+
34
  demo = gr.Interface(fn=captioner,
35
  inputs=[gr.Image(label="Upload image", type="pil")],
36
  outputs=[gr.Textbox(label="Caption")],