Xhaheen commited on
Commit
cdc0a73
1 Parent(s): 1a094b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
 
2
- import os
3
 
4
 
5
 
@@ -30,7 +30,7 @@ def predict(image,max_length=64, num_beams=4):
30
  input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
31
  output = gr.outputs.Textbox(type="auto",label="Captions")
32
  #examples = [f"example{i}.jpg" for i in range(1,7)]
33
- examples = os.listdir()
34
  description= "Image captioning application made using transformers"
35
  title = "Image Captioning 🖼️"
36
 
 
1
 
2
+ #import os
3
 
4
 
5
 
 
30
  input = gr.inputs.Image(label="Upload your Image", type = 'pil', optional=True)
31
  output = gr.outputs.Textbox(type="auto",label="Captions")
32
  #examples = [f"example{i}.jpg" for i in range(1,7)]
33
+ #examples = os.listdir()
34
  description= "Image captioning application made using transformers"
35
  title = "Image Captioning 🖼️"
36