mike10 commited on
Commit
38e8bc0
1 Parent(s): dbceef5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -8,5 +8,9 @@ def classify(text):
8
  cls= pipeline("text-classification", model=model)
9
  return cls(text)[0]['label']
10
 
11
- gr.Interface(fn=classify, inputs=["textbox"], outputs="text", examples=examples).launch(debug=True)
 
 
 
 
12
 
 
8
  cls= pipeline("text-classification", model=model)
9
  return cls(text)[0]['label']
10
 
11
+ gr.Interface(fn=classify, inputs=["textbox"], outputs="text", description=main_title,
12
+ examples=examples,
13
+ theme="peach",
14
+ thumbnail="None",
15
+ css="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css").launch(debug=True)
16