Spaces:
Running
on
Zero
Running
on
Zero
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 |
-
@spaces.GPU(duration=
|
| 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
|