fffiloni commited on
Commit
e63192b
·
verified ·
1 Parent(s): 2698702

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -8
app.py CHANGED
@@ -129,17 +129,11 @@ with gr.Blocks(css=css) as demo:
129
  with gr.Column():
130
  image_in = gr.Image(label="Image input", type="filepath", elem_id="image-in")
131
 
132
- submit_btn = gr.Button('Tell me a story')
133
  with gr.Column():
134
  #caption = gr.Textbox(label="Generated Caption")
135
  fragrance = gr.Textbox(label="generated Fragrance", elem_id="fragrance")
136
-
137
- gr.Examples(examples=[["./examples/crabby.png", "Children"],["./examples/hopper.jpeg", "Adult"]],
138
- fn=infer,
139
- inputs=[image_in],
140
- outputs=[fragrance],
141
- cache_examples=False
142
- )
143
 
144
  submit_btn.click(fn=infer, inputs=[image_in], outputs=[fragrance])
145
 
 
129
  with gr.Column():
130
  image_in = gr.Image(label="Image input", type="filepath", elem_id="image-in")
131
 
132
+ submit_btn = gr.Button('Give me a Fragrance')
133
  with gr.Column():
134
  #caption = gr.Textbox(label="Generated Caption")
135
  fragrance = gr.Textbox(label="generated Fragrance", elem_id="fragrance")
136
+
 
 
 
 
 
 
137
 
138
  submit_btn.click(fn=infer, inputs=[image_in], outputs=[fragrance])
139