Veucci commited on
Commit
9e3f469
1 Parent(s): 766a327

Upload 2 files

Browse files

fixed pytorch error

Files changed (2) hide show
  1. app.py +1 -0
  2. 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