Spaces:
Paused
Paused
nroggendorff
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
from transformers import pipeline as pl
|
2 |
import gradio as gr
|
3 |
|
4 |
-
oracle = pl(
|
5 |
-
model = "text-classification"
|
6 |
-
)
|
7 |
|
8 |
def pipe(text: str):
|
9 |
return oracle(text)
|
|
|
1 |
from transformers import pipeline as pl
|
2 |
import gradio as gr
|
3 |
|
4 |
+
oracle = pl("text-classification")
|
|
|
|
|
5 |
|
6 |
def pipe(text: str):
|
7 |
return oracle(text)
|