re-type commited on
Commit
8197a5d
·
verified ·
1 Parent(s): 94ee67c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -1028,12 +1028,10 @@ if __name__ == "__main__":
1028
  # Create and launch interface
1029
  iface = create_interface()
1030
  iface.launch(
1031
- share=False, # Set to True if you want to create a public link
1032
  server_name="0.0.0.0", # Allow connections from any IP
1033
  server_port=7860, # Default Gradio port
1034
- show_error=True, # Show errors in the interface
1035
- enable_queue=True, # Enable queuing for long-running tasks
1036
- max_threads=4 # Limit concurrent processing
1037
  )
1038
 
1039
  except Exception as e:
 
1028
  # Create and launch interface
1029
  iface = create_interface()
1030
  iface.launch(
1031
+ share=False, # Set to True if you want to create a public link
1032
  server_name="0.0.0.0", # Allow connections from any IP
1033
  server_port=7860, # Default Gradio port
1034
+ show_error=True # Show errors in the interface
 
 
1035
  )
1036
 
1037
  except Exception as e: