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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -3,5 +3,9 @@ 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 = "BR Final Emo 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()
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)