Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,4 +12,5 @@ candidate_labels = ['Positive', 'Neutral', 'Negative']
|
|
| 12 |
|
| 13 |
if text:
|
| 14 |
out = classifier(text, candidate_labels)
|
| 15 |
-
st.json(out)
|
|
|
|
|
|
| 12 |
|
| 13 |
if text:
|
| 14 |
out = classifier(text, candidate_labels)
|
| 15 |
+
st.json(out)
|
| 16 |
+
torch.cuda.empty_cache()
|