Commit ·
e2a9d9f
1
Parent(s): 4bd4fb9
update restart time to 1 Day
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ import assets.text_content as tc
|
|
| 16 |
CONSTANTS
|
| 17 |
"""
|
| 18 |
# For restarting the gradio application every 24 Hrs
|
| 19 |
-
TIME =
|
| 20 |
|
| 21 |
"""
|
| 22 |
AUTO RESTART HF SPACE
|
|
@@ -89,9 +89,6 @@ parameter_step = 1
|
|
| 89 |
|
| 90 |
min_context = min(contexts)
|
| 91 |
max_context = max(contexts)
|
| 92 |
-
print(min_context, max_context)
|
| 93 |
-
print("SOMETHING")
|
| 94 |
-
print(contexts)
|
| 95 |
context_step = 8
|
| 96 |
|
| 97 |
min_date = min(dates)
|
|
|
|
| 16 |
CONSTANTS
|
| 17 |
"""
|
| 18 |
# For restarting the gradio application every 24 Hrs
|
| 19 |
+
TIME = 86400 # in seconds # Reload will not work locally - requires HFToken # The app launches locally as expected - only without the reload utility
|
| 20 |
|
| 21 |
"""
|
| 22 |
AUTO RESTART HF SPACE
|
|
|
|
| 89 |
|
| 90 |
min_context = min(contexts)
|
| 91 |
max_context = max(contexts)
|
|
|
|
|
|
|
|
|
|
| 92 |
context_step = 8
|
| 93 |
|
| 94 |
min_date = min(dates)
|