Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,11 +27,11 @@ if not os.path.exists(model_path) or not os.path.exists(f"{model_path}/model_rea
|
|
| 27 |
else:
|
| 28 |
print(f"Model already exists in {model_path}, skipping download.")
|
| 29 |
|
| 30 |
-
pretrained_model_path = "
|
| 31 |
inference_config_path = "sample_configs/RealisticVision.yaml"
|
| 32 |
-
magic_adapter_s_path = "
|
| 33 |
-
magic_adapter_t_path = "
|
| 34 |
-
magic_text_encoder_path = "
|
| 35 |
|
| 36 |
css = """
|
| 37 |
.toolbutton {
|
|
|
|
| 27 |
else:
|
| 28 |
print(f"Model already exists in {model_path}, skipping download.")
|
| 29 |
|
| 30 |
+
pretrained_model_path = f"{model_path}/Base_Model/stable-diffusion-v1-5"
|
| 31 |
inference_config_path = "sample_configs/RealisticVision.yaml"
|
| 32 |
+
magic_adapter_s_path = f"{model_path}/Magic_Weights/magic_adapter_s/magic_adapter_s.ckpt"
|
| 33 |
+
magic_adapter_t_path = f"{model_path}/Magic_Weights/magic_adapter_t"
|
| 34 |
+
magic_text_encoder_path = f"{model_path}/Magic_Weights/magic_text_encoder"
|
| 35 |
|
| 36 |
css = """
|
| 37 |
.toolbutton {
|