vhpvmx commited on
Commit
710f69d
1 Parent(s): 550cea0

cambiando el modelo al default de summarization porque hay un runtime error al hacer deploy en gradio

Browse files
Files changed (2) hide show
  1. app.py +4 -2
  2. notas.txt +5 -0
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