Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
xuanricheng
commited on
Commit
•
bf28f57
1
Parent(s):
e0eb91f
update default filter
Browse files
app.py
CHANGED
@@ -221,7 +221,7 @@ with demo:
|
|
221 |
hide_models = gr.CheckboxGroup(
|
222 |
label="Hide models",
|
223 |
choices = ["Private or deleted", "Contains a merge/moerge", "Flagged", "MoE"],
|
224 |
-
value=["Private or deleted"
|
225 |
interactive=True
|
226 |
)
|
227 |
with gr.Column(min_width=320):
|
@@ -437,7 +437,7 @@ with demo:
|
|
437 |
)
|
438 |
|
439 |
scheduler = BackgroundScheduler()
|
440 |
-
scheduler.add_job(restart_space, "interval", seconds=
|
441 |
scheduler.add_job(update_dynamic_files, "cron", minute=30) # launched every hour on the hour
|
442 |
scheduler.start()
|
443 |
|
|
|
221 |
hide_models = gr.CheckboxGroup(
|
222 |
label="Hide models",
|
223 |
choices = ["Private or deleted", "Contains a merge/moerge", "Flagged", "MoE"],
|
224 |
+
value=["Private or deleted"],
|
225 |
interactive=True
|
226 |
)
|
227 |
with gr.Column(min_width=320):
|
|
|
437 |
)
|
438 |
|
439 |
scheduler = BackgroundScheduler()
|
440 |
+
scheduler.add_job(restart_space, "interval", seconds=3600) # restarted every 3h
|
441 |
scheduler.add_job(update_dynamic_files, "cron", minute=30) # launched every hour on the hour
|
442 |
scheduler.start()
|
443 |
|