Spaces:
Runtime error
Runtime error
cambiando el modelo al default de summarization porque hay un runtime error al hacer deploy en gradio
Browse files
app.py
CHANGED
@@ -6,8 +6,10 @@ from transformers import pipeline
|
|
6 |
#api = gr.Interface.load("./models/mt5-small-finetuned-amazon-en-es")
|
7 |
#api = gr.Interface.load("huggingface/vhpvmx/mt5-small-finetuned-amazon-en-es") #ESTE LO CARGA
|
8 |
|
9 |
-
hub_model_id = "vhpvmx/mt5-small-finetuned-amazon-en-es"
|
10 |
-
summarizer = pipeline("summarization", model=hub_model_id)
|
|
|
|
|
11 |
|
12 |
#model="./models/mt5-small-finetuned-amazon-en-es"
|
13 |
#summarizer = pipeline("summarization", model)
|
|
|
6 |
#api = gr.Interface.load("./models/mt5-small-finetuned-amazon-en-es")
|
7 |
#api = gr.Interface.load("huggingface/vhpvmx/mt5-small-finetuned-amazon-en-es") #ESTE LO CARGA
|
8 |
|
9 |
+
# hub_model_id = "vhpvmx/mt5-small-finetuned-amazon-en-es"
|
10 |
+
# summarizer = pipeline("summarization", model=hub_model_id)
|
11 |
+
|
12 |
+
summarizer = pipeline("summarization")
|
13 |
|
14 |
#model="./models/mt5-small-finetuned-amazon-en-es"
|
15 |
#summarizer = pipeline("summarization", model)
|
notas.txt
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Conectandose por ssh - USE SSH
|
2 |
+
git remote set-url origin [email protected]:/spaces/vhpvmx/Chatbot_Comparation
|
3 |
+
|
4 |
+
Conectandose con el token
|
5 |
+
git remote set-url origin https://vhpvmx:[email protected]/spaces/vhpvmx/Chatbot_Comparation
|