pratikshahp commited on
Commit
2237481
Β·
verified Β·
1 Parent(s): 6ba3da1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -49,14 +49,11 @@ def generate_compliment(image):
49
  # Gradio interface
50
  iface = gr.Interface(
51
  fn=generate_compliment,
52
- inputs=gr.Image(type="pil"),
53
  outputs=[
54
  gr.Textbox(label="Caption"),
55
  gr.Textbox(label="Compliment")
56
  ],
57
  title="Compliment Bot πŸ’–",
58
- description="Upload your headshot and get a personalized compliment!",
59
- share=True # Setting share=True to create a public link
60
  )
61
-
62
- iface.launch()
 
49
  # Gradio interface
50
  iface = gr.Interface(
51
  fn=generate_compliment,
52
+ inputs=gr.Image(type="pil", label="Upload Image"),
53
  outputs=[
54
  gr.Textbox(label="Caption"),
55
  gr.Textbox(label="Compliment")
56
  ],
57
  title="Compliment Bot πŸ’–",
58
+ description="Upload your headshot and get a personalized compliment!"
 
59
  )