fffiloni commited on
Commit
8cb54a5
·
verified ·
1 Parent(s): b6a069c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- swap_sleep_time(hf_token, -1)
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