Spaces:
Running on Zero
Running on Zero
Refactor import paths in app.py to remove 'app.' prefix
Browse files
app.py
CHANGED
|
@@ -5,12 +5,12 @@ import time
|
|
| 5 |
import gradio as gr
|
| 6 |
import schedule
|
| 7 |
|
| 8 |
-
from
|
| 9 |
-
from
|
| 10 |
push_and_clear_interactions,
|
| 11 |
reset_counters_per_day,
|
| 12 |
upload_and_rotate_logs)
|
| 13 |
-
from
|
| 14 |
|
| 15 |
|
| 16 |
def run_scheduled_tasks():
|
|
|
|
| 5 |
import gradio as gr
|
| 6 |
import schedule
|
| 7 |
|
| 8 |
+
from models.initializer import initialize_models, initialize_prefixes
|
| 9 |
+
from runtime.scheduler import (cleanup_expired_sessions,
|
| 10 |
push_and_clear_interactions,
|
| 11 |
reset_counters_per_day,
|
| 12 |
upload_and_rotate_logs)
|
| 13 |
+
from ui.ui import render_ui
|
| 14 |
|
| 15 |
|
| 16 |
def run_scheduled_tasks():
|