Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,6 @@ classifier = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer)
|
|
15 |
|
16 |
|
17 |
# Function to process a single text input
|
18 |
-
@spaces.GPU
|
19 |
def analyze_text(text):
|
20 |
result = classifier(text)[0]
|
21 |
return result
|
|
|
15 |
|
16 |
|
17 |
# Function to process a single text input
|
|
|
18 |
def analyze_text(text):
|
19 |
result = classifier(text)[0]
|
20 |
return result
|