Spaces:
Runtime error
Runtime error
Martín Bravo
commited on
Commit
·
3ba5e09
1
Parent(s):
304c4d9
add: torch
Browse files- app.py +1 -0
- requirements.txt +2 -1
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
3 |
|
4 |
# Load model and tokenizer
|
|
|
1 |
import gradio as gr
|
2 |
+
import torch
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
|
4 |
|
5 |
# Load model and tokenizer
|
requirements.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
huggingface_hub==0.25.2
|
2 |
gradio
|
3 |
-
transformers
|
|
|
|
1 |
huggingface_hub==0.25.2
|
2 |
gradio
|
3 |
+
transformers
|
4 |
+
torch
|