AndresR2909 commited on
Commit
94da137
1 Parent(s): 69432bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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")