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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -33,10 +33,13 @@ with gr.Blocks() as demo:
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
 
41
  # Lanzar la aplicaci贸n
42
  demo.launch(share=True)
 
33
  gr.Markdown(description)
34
 
35
  with gr.Row():
36
+ # Crear las interfaces y agregarlas al layout
37
+ io1 = gr.Interface.load("huggingface/crrodrvi/mbart-simplificacion")
38
+ io2 = gr.Interface.load("huggingface/facebook/bart-large-cnn")
39
+ io1.render()
40
+ io2.render()
41
 
42
+ gr.Examples(examples, inputs=gr.Textbox(lines=10, label="Text"))
43
 
44
  # Lanzar la aplicaci贸n
45
  demo.launch(share=True)