Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -215,7 +215,7 @@ def start_training(
|
|
| 215 |
except:
|
| 216 |
raise gr.Error("Error trying to retrieve your username. Are you sure you are logged in with Hugging Face?")
|
| 217 |
config["config"]["process"][0]["save"]["hf_repo_id"] = f"{username}/{slugged_lora_name}"
|
| 218 |
-
config["config"]["process"][0]["save"]["hf_private"] =
|
| 219 |
if concept_sentence:
|
| 220 |
config["config"]["process"][0]["trigger_word"] = concept_sentence
|
| 221 |
|
|
@@ -328,7 +328,7 @@ sample:
|
|
| 328 |
width: 1024
|
| 329 |
save:
|
| 330 |
dtype: float16
|
| 331 |
-
hf_private:
|
| 332 |
max_step_saves_to_keep: 4
|
| 333 |
push_to_hub: true
|
| 334 |
save_every: 10000
|
|
|
|
| 215 |
except:
|
| 216 |
raise gr.Error("Error trying to retrieve your username. Are you sure you are logged in with Hugging Face?")
|
| 217 |
config["config"]["process"][0]["save"]["hf_repo_id"] = f"{username}/{slugged_lora_name}"
|
| 218 |
+
config["config"]["process"][0]["save"]["hf_private"] = False
|
| 219 |
if concept_sentence:
|
| 220 |
config["config"]["process"][0]["trigger_word"] = concept_sentence
|
| 221 |
|
|
|
|
| 328 |
width: 1024
|
| 329 |
save:
|
| 330 |
dtype: float16
|
| 331 |
+
hf_private: false
|
| 332 |
max_step_saves_to_keep: 4
|
| 333 |
push_to_hub: true
|
| 334 |
save_every: 10000
|