Spaces:
Running
Running
raj-tomar001
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import DebertaTokenizer, DebertaForSequenceClassification
|
3 |
from transformers import pipeline
|
|
|
|
|
4 |
|
5 |
save_path_abstract = './fine-tuned-deberta'
|
6 |
model_abstract = DebertaForSequenceClassification.from_pretrained(save_path_abstract)
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import DebertaTokenizer, DebertaForSequenceClassification
|
3 |
from transformers import pipeline
|
4 |
+
import json
|
5 |
+
|
6 |
|
7 |
save_path_abstract = './fine-tuned-deberta'
|
8 |
model_abstract = DebertaForSequenceClassification.from_pretrained(save_path_abstract)
|