Explorar el Código

add server_name and server_port

Shellmiao hace 2 años
padre
commit
57c82a76ee
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      main.py

+ 1 - 0
main.py

@@ -110,3 +110,4 @@ iface = gr.Interface(
 )
 
 iface.launch(debug=True)
+# iface.launch(server_name="0.0.0.0", server_port=7881)