yonigozlan HF Staff commited on
Commit
45f6190
ยท
1 Parent(s): af57431

change port

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2892,7 +2892,7 @@ def create_timeline_template():
2892
  def open_browser():
2893
  """Open the browser after a short delay."""
2894
  time.sleep(1.5)
2895
- webbrowser.open("http://localhost:5000")
2896
 
2897
 
2898
  def main():
@@ -2918,7 +2918,7 @@ def main():
2918
 
2919
  print("\n๐Ÿš€ Starting timeline server...")
2920
  print("๐Ÿ“ฑ Opening in browser...")
2921
- print("๐ŸŒ Access at: http://localhost:5000")
2922
  print("๐Ÿ›‘ Press Ctrl+C to stop")
2923
 
2924
  # Start browser opening in background
@@ -2926,7 +2926,7 @@ def main():
2926
 
2927
  # Run Flask app
2928
  try:
2929
- app.run(host="0.0.0.0", port=5000, debug=False)
2930
  except KeyboardInterrupt:
2931
  print("\n๐Ÿ‘‹ Timeline server stopped")
2932
 
 
2892
  def open_browser():
2893
  """Open the browser after a short delay."""
2894
  time.sleep(1.5)
2895
+ webbrowser.open("http://localhost:7860")
2896
 
2897
 
2898
  def main():
 
2918
 
2919
  print("\n๐Ÿš€ Starting timeline server...")
2920
  print("๐Ÿ“ฑ Opening in browser...")
2921
+ print("๐ŸŒ Access at: http://localhost:7860")
2922
  print("๐Ÿ›‘ Press Ctrl+C to stop")
2923
 
2924
  # Start browser opening in background
 
2926
 
2927
  # Run Flask app
2928
  try:
2929
+ app.run(host="0.0.0.0", port=7860, debug=False)
2930
  except KeyboardInterrupt:
2931
  print("\n๐Ÿ‘‹ Timeline server stopped")
2932