Spaces:
Sleeping
Sleeping
Update classifier.py
Browse files- classifier.py +1 -1
classifier.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import spaces
|
| 2 |
from transformers import pipeline as tpipeline
|
| 3 |
-
from optimum.pipelines import pipeline as
|
| 4 |
|
| 5 |
#@spaces.GPU(duration=60)
|
| 6 |
def classify(tweet, event_model, hftoken, threshold):
|
|
|
|
| 1 |
import spaces
|
| 2 |
from transformers import pipeline as tpipeline
|
| 3 |
+
from optimum.pipelines import pipeline as opipeline
|
| 4 |
|
| 5 |
#@spaces.GPU(duration=60)
|
| 6 |
def classify(tweet, event_model, hftoken, threshold):
|