Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import os
|
2 |
|
3 |
os.system("pip install transformers")
|
|
|
4 |
|
5 |
import transformers
|
6 |
from transformers import pipeline
|
|
|
1 |
import os
|
2 |
|
3 |
os.system("pip install transformers")
|
4 |
+
os.system("pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117")
|
5 |
|
6 |
import transformers
|
7 |
from transformers import pipeline
|