Karin0616 commited on
Commit
6aa1f17
·
1 Parent(s): d2e5dcd
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -103,11 +103,13 @@ def sepia(input_img):
103
  return fig
104
 
105
  demo = gr.Interface(fn=sepia,
106
- inputs=[gr.Image(shape=(564,846)), gr.Radio(labels=labels_list, type="text", default=labels_list[0])],
107
  outputs=['plot'],
108
  live=True,
109
  examples=["city1.jpg","city2.jpg","city3.jpg"],
110
- allow_flagging='never')
 
 
111
 
112
 
113
  demo.launch()
 
103
  return fig
104
 
105
  demo = gr.Interface(fn=sepia,
106
+ inputs=gr.Image(shape=(564,846)),
107
  outputs=['plot'],
108
  live=True,
109
  examples=["city1.jpg","city2.jpg","city3.jpg"],
110
+ allow_flagging='never',
111
+ title="This is a machine learning activity project at Kyunggi University."
112
+ )
113
 
114
 
115
  demo.launch()