Spaces:
Sleeping
Sleeping
Upload 2 files
Browse filesfixed pytorch error
- app.py +1 -0
- requirements.txt +2 -1
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio
|
2 |
from transformers import pipeline
|
|
|
3 |
|
4 |
classifier = pipeline("text-classification", model="Veucci/turkish-lyric-to-genre")
|
5 |
|
|
|
1 |
import gradio
|
2 |
from transformers import pipeline
|
3 |
+
import torch
|
4 |
|
5 |
classifier = pipeline("text-classification", model="Veucci/turkish-lyric-to-genre")
|
6 |
|
requirements.txt
CHANGED
@@ -1 +1,2 @@
|
|
1 |
-
transformers
|
|
|
|
1 |
+
transformers
|
2 |
+
torch
|