Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,10 +33,13 @@ with gr.Blocks() as demo:
|
|
| 33 |
gr.Markdown(description)
|
| 34 |
|
| 35 |
with gr.Row():
|
| 36 |
-
|
| 37 |
-
gr.Interface.load("huggingface/
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
-
gr.Examples(examples, inputs=gr.
|
| 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)
|