crrodrvi commited on
Commit
40d9057
·
verified ·
1 Parent(s): fbb8edb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -29,11 +29,12 @@ io2 = gr.Interface.load("huggingface/facebook/bart-large-cnn")
29
 
30
  # Crear la interfaz combinada usando Blocks
31
  with gr.Blocks() as demo:
32
- gr.Markdown(f"### {title}")
33
  gr.Markdown(description)
 
34
  with gr.Row():
35
- io1.render()
36
- io2.render()
37
 
38
  gr.Examples(examples, inputs=gr.inputs.Textbox(lines=10, label="Text"))
39
 
 
29
 
30
  # Crear la interfaz combinada usando Blocks
31
  with gr.Blocks() as demo:
32
+ gr.Markdown(f"# {title}")
33
  gr.Markdown(description)
34
+
35
  with gr.Row():
36
+ gr.Interface.load("huggingface/crrodrvi/mbart-simplificacion").style(height=200).render()
37
+ gr.Interface.load("huggingface/facebook/bart-large-cnn").style(height=200).render()
38
 
39
  gr.Examples(examples, inputs=gr.inputs.Textbox(lines=10, label="Text"))
40