SeoJunn commited on
Commit
4777956
1 Parent(s): 1e105a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -168,15 +168,16 @@ dropdown = gr.Dropdown(
168
 
169
  demo = gr.Interface(
170
  fn=sepia,
171
- inputs=[gr.Image(shape=(400, 600)), dropdown],
172
  outputs=["plot"],
173
  examples=[
174
- ["01.jpg", "Click me"],
175
- ["02.jpeg", "Click me"],
176
- ["03.jpeg", "Click me"],
177
- ["04.jpeg", "Click me"],
178
  ],
179
  allow_flagging="never",
180
  )
181
 
182
- demo.launch()
 
 
168
 
169
  demo = gr.Interface(
170
  fn=sepia,
171
+ inputs=[gr.Image(shape=(400, 600))],
172
  outputs=["plot"],
173
  examples=[
174
+ ["01.jpg", "1"],
175
+ ["02.jpeg", "2"],
176
+ ["03.jpeg", "3"],
177
+ ["04.jpeg", "4"],
178
  ],
179
  allow_flagging="never",
180
  )
181
 
182
+
183
+ demo.launch()