Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -108,9 +108,9 @@ def main(image_path, b_lora_trained_folder, instance_prompt, class_prompt, train
|
|
108 |
if instance_prompt == "":
|
109 |
raise gr.Error("You forgot to specify an instance prompt")
|
110 |
|
111 |
-
sleep_time = get_sleep_time(hf_token)
|
112 |
-
if sleep_time:
|
113 |
-
|
114 |
|
115 |
local_dir = "image_to_train"
|
116 |
# Check if the directory exists and create it if necessary
|
|
|
108 |
if instance_prompt == "":
|
109 |
raise gr.Error("You forgot to specify an instance prompt")
|
110 |
|
111 |
+
#sleep_time = get_sleep_time(hf_token)
|
112 |
+
#if sleep_time:
|
113 |
+
swap_sleep_time(hf_token, 36000)
|
114 |
|
115 |
local_dir = "image_to_train"
|
116 |
# Check if the directory exists and create it if necessary
|