crrodrvi commited on
Commit
c44ec05
verified
1 Parent(s): e60d67f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import AutoTokenizer, AutoModelWithLMHead, AutoModelForSeq2SeqLM
3
 
4
- title = "Spanish Text Simplification"
5
  description = "Simplificaci贸n de noticias en espa帽ol"
6
  examples = [
7
  ["""
@@ -22,7 +22,7 @@ Ya el mi茅rcoles, habr谩 una bajada de temperaturas m谩s generalizada
22
  ]
23
 
24
  # Cargar los modelos desde Hugging Face
25
- demo = gr.Interface.load("huggingface/crrodrvi/mbart-simplificacion", title=title, description=description, examples=examples)
26
  #io2 = gr.Interface.load("huggingface/facebook/bart-large-cnn")
27
 
28
  # Lanzar la aplicaci贸n
 
1
  import gradio as gr
2
  from transformers import AutoTokenizer, AutoModelWithLMHead, AutoModelForSeq2SeqLM
3
 
4
+ # title = "Spanish Text Simplification"
5
  description = "Simplificaci贸n de noticias en espa帽ol"
6
  examples = [
7
  ["""
 
22
  ]
23
 
24
  # Cargar los modelos desde Hugging Face
25
+ demo = gr.Interface.load("huggingface/crrodrvi/mbart-simplificacion", description=description, examples=examples)
26
  #io2 = gr.Interface.load("huggingface/facebook/bart-large-cnn")
27
 
28
  # Lanzar la aplicaci贸n