eldoraboo commited on
Commit
a4a3c53
·
1 Parent(s): 83ea3c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -1,5 +1,8 @@
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).launch()
 
 
 
 
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()