gibil commited on
Commit
de16dcd
·
1 Parent(s): a09acd7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -4,8 +4,4 @@ import gradio as gr
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()
8
-
9
- css_code='body{background-image:url("https://static.wixstatic.com/media/ee3b6a_e0b80dada22d460fa1047b14b35f4872~mv2.png/v1/fit/w_2500,h_1330,al_c/ee3b6a_e0b80dada22d460fa1047b14b35f4872~mv2.png");}'
10
-
11
- gr.Interface(lambda x:x, "textbox1", "textbox2", css=css_code).launch(debug=True)
 
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()