eldoraboo commited on
Commit
9fc2917
·
1 Parent(s): a4a3c53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -1,8 +1,6 @@
1
  import gradio as gr
2
  title = "Zero-Shot Text Classification with Hugging Face"
3
  description = "BART-Large-MNLI"
4
- with gr.Blocks(css="body {background-color: white}") as demo:
5
- gr.Interface.load("huggingface/facebook/bart-large-mnli", title=title,
6
- description=description)
7
-
8
- demo.launch()
 
1
  import gradio as gr
2
  title = "Zero-Shot Text Classification with Hugging Face"
3
  description = "BART-Large-MNLI"
4
+ gr.Interface.load("huggingface/facebook/bart-large-mnli", title=title,
5
+ description=description, theme="default").launch()
6
+