Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
-
MODEL_ID = "DelaliScratchwerk/
|
| 5 |
pipe = pipeline("text-classification", model=MODEL_ID, return_all_scores=True)
|
| 6 |
|
| 7 |
def predict(txt):
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
+
MODEL_ID = "DelaliScratchwerk/text-period-setfit"
|
| 5 |
pipe = pipeline("text-classification", model=MODEL_ID, return_all_scores=True)
|
| 6 |
|
| 7 |
def predict(txt):
|