Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import subprocess
|
|
| 2 |
|
| 3 |
# Install transformers library
|
| 4 |
subprocess.check_call(["pip", "install", "transformers"])
|
|
|
|
| 5 |
|
| 6 |
import gradio as gr
|
| 7 |
from transformers import pipeline
|
|
|
|
| 2 |
|
| 3 |
# Install transformers library
|
| 4 |
subprocess.check_call(["pip", "install", "transformers"])
|
| 5 |
+
subprocess.check_call(["pip", "install", "torch"])
|
| 6 |
|
| 7 |
import gradio as gr
|
| 8 |
from transformers import pipeline
|