Spaces:
Sleeping
Sleeping
Varsha Dewangan commited on
Commit ·
0c1422d
1
Parent(s): 6dec7c8
file updated
Browse files- app/app.py +2 -1
app/app.py
CHANGED
|
@@ -40,7 +40,8 @@ SCENE_CHANGE_THRESHOLD = 0.15 # For scene change detection
|
|
| 40 |
CAPTION_HISTORY_SIZE = 10 # Keep caption history for context
|
| 41 |
|
| 42 |
# --- Flask & SocketIO App Initialization ---
|
| 43 |
-
app = Flask(__name__)
|
|
|
|
| 44 |
app.config['SECRET_KEY'] = 'your-very-secret-key!'
|
| 45 |
socketio = SocketIO(app, async_mode='threading', logger=False, engineio_logger=False,
|
| 46 |
cors_allowed_origins="*", ping_timeout=60, ping_interval=25)
|
|
|
|
| 40 |
CAPTION_HISTORY_SIZE = 10 # Keep caption history for context
|
| 41 |
|
| 42 |
# --- Flask & SocketIO App Initialization ---
|
| 43 |
+
# app = Flask(__name__)
|
| 44 |
+
app = Flask(__name__, template_folder='../templates', static_folder='../static')
|
| 45 |
app.config['SECRET_KEY'] = 'your-very-secret-key!'
|
| 46 |
socketio = SocketIO(app, async_mode='threading', logger=False, engineio_logger=False,
|
| 47 |
cors_allowed_origins="*", ping_timeout=60, ping_interval=25)
|