Karin0616 commited on
Commit
ae23d32
·
1 Parent(s): 6ad056b
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -114,7 +114,7 @@ def sepia(input_img, *label_buttons):
114
  return fig
115
 
116
  demo = gr.Interface(fn=sepia,
117
- inputs=[gr.Image(shape=(564, 846))] + [gr.Button(label) for label in labels_list],
118
  outputs=['plot'],
119
  live=True,
120
  examples=["city1.jpg","city2.jpg","city3.jpg"],
 
114
  return fig
115
 
116
  demo = gr.Interface(fn=sepia,
117
+ inputs=[gr.Image(shape=(564, 846)),gr.ButtonGroup([gr.Button(label) for label in labels_list], label="Select a label")],
118
  outputs=['plot'],
119
  live=True,
120
  examples=["city1.jpg","city2.jpg","city3.jpg"],