rwayz commited on
Commit
9b086f2
·
verified ·
1 Parent(s): 7094511

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -1068,13 +1068,7 @@ async def main():
1068
  if GRADIO_SHARE:
1069
  logging.info("🌐 Configurando link público do Gradio...")
1070
 
1071
- demo.launch(
1072
- server_name=server_name,
1073
- server_port=port if port != 0 else None,
1074
- share=GRADIO_SHARE,
1075
- show_error=True,
1076
- quiet=False
1077
- )
1078
  break # Se chegou aqui, deu certo
1079
  except OSError as e:
1080
  if "Cannot find empty port" in str(e) and port != ports_to_try[-1]:
 
1068
  if GRADIO_SHARE:
1069
  logging.info("🌐 Configurando link público do Gradio...")
1070
 
1071
+ demo.launch()
 
 
 
 
 
 
1072
  break # Se chegou aqui, deu certo
1073
  except OSError as e:
1074
  if "Cannot find empty port" in str(e) and port != ports_to_try[-1]: