pratikshahp commited on
Commit
cbc8866
Β·
verified Β·
1 Parent(s): 96cf070

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -47,10 +47,10 @@ def generate_compliment(image):
47
  # Gradio interface
48
  iface = gr.Interface(
49
  fn=generate_compliment,
50
- inputs=gr.inputs.Image(type="pil"),
51
  outputs=[
52
- gr.outputs.Textbox(label="Caption"),
53
- gr.outputs.Textbox(label="Compliment")
54
  ],
55
  title="Compliment Bot πŸ’–",
56
  description="Upload your headshot and get a personalized compliment!"
 
47
  # Gradio interface
48
  iface = gr.Interface(
49
  fn=generate_compliment,
50
+ inputs=gr.Image(type="pil"),
51
  outputs=[
52
+ gr.Textbox(label="Caption"),
53
+ gr.Textbox(label="Compliment")
54
  ],
55
  title="Compliment Bot πŸ’–",
56
  description="Upload your headshot and get a personalized compliment!"