jcockhren commited on
Commit
14060bd
·
verified ·
1 Parent(s): 8ebfaf2

Add dropdown to interface

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -11,5 +11,7 @@ def sepia(input_img):
11
  sepia_img /= sepia_img.max()
12
  return sepia_img
13
 
14
- demo = gr.Interface(sepia, gr.Image(), "image")
 
 
15
  demo.launch()
 
11
  sepia_img /= sepia_img.max()
12
  return sepia_img
13
 
14
+ demo = gr.Interface(gr.Dropdown(choices=["First Choice", "Second Choice", "Third Choice"]),
15
+ gr.Image(),
16
+ "image")
17
  demo.launch()