Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,5 +3,5 @@ import gradio as gr
|
|
3 |
|
4 |
model = AutoModelForSequenceClassification.from_pretrained("NDugar/ZSD-microsoft-v2xxlmnli")
|
5 |
p = pipeline("zero-shot-classification", model=model, tokenizer = "NDugar/ZSD-microsoft-v2xxlmnli")
|
6 |
-
io = gr.Interface.from_pipeline(p, theme="dark", title = "Beit Rabban Final Project"
|
7 |
io.launch()
|
|
|
3 |
|
4 |
model = AutoModelForSequenceClassification.from_pretrained("NDugar/ZSD-microsoft-v2xxlmnli")
|
5 |
p = pipeline("zero-shot-classification", model=model, tokenizer = "NDugar/ZSD-microsoft-v2xxlmnli")
|
6 |
+
io = gr.Interface.from_pipeline(p, theme="dark", title = "Beit Rabban Final Project")
|
7 |
io.launch()
|