Spaces:
Sleeping
Sleeping
Update classifier.py
Browse files- classifier.py +1 -1
classifier.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import spaces
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
|
5 |
def classify(tweet, event_model, hftoken):
|
6 |
|
7 |
# event type prediction
|
|
|
1 |
import spaces
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
#@spaces.GPU(duration=60)
|
5 |
def classify(tweet, event_model, hftoken):
|
6 |
|
7 |
# event type prediction
|