Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 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()
|