Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -4,12 +4,16 @@ import json
|
|
4 |
|
5 |
import torch
|
6 |
|
7 |
-
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
-
|
11 |
-
|
12 |
-
interface.launch(share=True, auth=(args.username, args.password) if args.username is not None else None)
|
13 |
|
14 |
if __name__ == "__main__":
|
15 |
import argparse
|
|
|
4 |
|
5 |
import torch
|
6 |
|
7 |
+
interface = create_ui(
|
8 |
+
model_config_path = str(cached_path('https://raw.githubusercontent.com/zxxwxyyy/sonique/refs/heads/main/best_model.json')),
|
9 |
+
ckpt_path=str(cached_path('hf://mrfakename/SONIQUE/stable_ep=220.ckpt')),
|
10 |
+
# pretrained_name=args.pretrained_name,
|
11 |
+
pretransform_ckpt_path=None
|
12 |
+
)
|
13 |
+
interface.queue().launch()
|
14 |
|
15 |
+
|
16 |
+
|
|
|
17 |
|
18 |
if __name__ == "__main__":
|
19 |
import argparse
|