sundea commited on
Commit
0b9b915
·
1 Parent(s): 1015b9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def greet(text):
157
  # print('类别为:{}'.format(classes[predic[0]]))
158
  return classes[predic[0]]
159
  #
160
- demo = gr.Interface(fn=greet, inputs="text", outputs="text")
161
 
162
  demo.launch()
163
  # with torch.no_grad():
 
157
  # print('类别为:{}'.format(classes[predic[0]]))
158
  return classes[predic[0]]
159
  #
160
+ demo = gr.Interface(fn=greet, inputs="text", outputs="text",title="text-classification app",icon="👋")
161
 
162
  demo.launch()
163
  # with torch.no_grad():