Commit
ยท
45f6190
1
Parent(s):
af57431
change port
Browse files
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:
|
| 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:
|
| 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=
|
| 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 |
|