mike10 commited on
Commit
83ff86d
1 Parent(s): c6dd25a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,5 +7,5 @@ def classify(text):
7
  cls= pipeline("text-classification", model=model)
8
  return cls(text)[0]['label']
9
 
10
- gr.Interface(fn=classify, inputs=["textbox"], outputs="text").launch(debug=True)
11
 
 
7
  cls= pipeline("text-classification", model=model)
8
  return cls(text)[0]['label']
9
 
10
+ gr.Interface(fn=classify, inputs=["textbox"], outputs="text", examples=examples).launch(debug=True)
11