appinitdev commited on
Commit
eca2ac1
路
verified 路
1 Parent(s): e96b09a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -66,7 +66,6 @@ demo = gr.Interface(
66
  api_name="predict"
67
  )
68
 
69
- # 馃専 CR脥TICO PARA GRADIO 6: Desactivamos el SSR experimental y la transpilaci贸n de funciones a JS
70
- # Esto apaga el servidor Node.js interno y delega todo el tr谩fico directamente al proceso Python ASGI.
71
  if __name__ == "__main__":
72
- demo.launch(ssr_mode=False, show_api=True)
 
66
  api_name="predict"
67
  )
68
 
69
+ # 馃専 CORRECCI脫N AQU脥: Quitamos 'show_api' para evitar el TypeError en Gradio 6
 
70
  if __name__ == "__main__":
71
+ demo.launch(ssr_mode=False)