Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,8 +53,8 @@ with gr.Blocks() as blocks:
|
|
53 |
gr.Textbox(lines=2, placeholder="Introduce un texto aquí...", label="Entrada de texto")
|
54 |
gr.Textbox(label="Resultado", interactive=False)
|
55 |
|
56 |
-
# Montar la API
|
57 |
-
app = gr.mount_gradio_app(iface, blocks=blocks, path="/api/predict")
|
58 |
-
|
59 |
# Lanzar la interfaz gráfica si deseas compartirla
|
60 |
-
iface.launch(share=True)
|
|
|
|
|
|
|
|
53 |
gr.Textbox(lines=2, placeholder="Introduce un texto aquí...", label="Entrada de texto")
|
54 |
gr.Textbox(label="Resultado", interactive=False)
|
55 |
|
|
|
|
|
|
|
56 |
# Lanzar la interfaz gráfica si deseas compartirla
|
57 |
+
iface.launch(share=True)
|
58 |
+
|
59 |
+
# Montar la API
|
60 |
+
#app = gr.mount_gradio_app(iface, blocks=blocks, path="/api/predict")
|