Spaces:
Running
Running
Commit
·
3997fa3
1
Parent(s):
d8ca2a9
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import gradio as gr
|
|
| 5 |
import hf_utils
|
| 6 |
import utils
|
| 7 |
|
| 8 |
-
subprocess.run(["git", "clone", "https://github.com/
|
| 9 |
|
| 10 |
def error_str(error, title="Error"):
|
| 11 |
return f"""#### {title}
|
|
@@ -63,8 +63,7 @@ def convert_and_push(radio_model_names, input_model, ckpt_name, sd_version, toke
|
|
| 63 |
ckpt_path,
|
| 64 |
"--dump_path" ,
|
| 65 |
model_id,
|
| 66 |
-
"--
|
| 67 |
-
sd_version
|
| 68 |
]
|
| 69 |
)
|
| 70 |
|
|
|
|
| 5 |
import hf_utils
|
| 6 |
import utils
|
| 7 |
|
| 8 |
+
subprocess.run(["git", "clone", "https://github.com/huggingface/diffusers", "diffs"])
|
| 9 |
|
| 10 |
def error_str(error, title="Error"):
|
| 11 |
return f"""#### {title}
|
|
|
|
| 63 |
ckpt_path,
|
| 64 |
"--dump_path" ,
|
| 65 |
model_id,
|
| 66 |
+
"--extract_ema"
|
|
|
|
| 67 |
]
|
| 68 |
)
|
| 69 |
|