Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,65 +31,14 @@ MARKDOWN = """
|
|
| 31 |
3. If you want the refine result to be more consistent with the image, please manually increase the CFG strength.
|
| 32 |
"""
|
| 33 |
EXAMPLES = [
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
]
|
| 41 |
-
|
| 42 |
-
# [
|
| 43 |
-
# # {
|
| 44 |
-
# # "image": "assets/image/100.png",
|
| 45 |
-
# # },
|
| 46 |
-
# "assets/image/100.png",
|
| 47 |
-
# "assets/model/100.glb",
|
| 48 |
-
# 42,
|
| 49 |
-
# False,
|
| 50 |
-
# ],
|
| 51 |
-
# [
|
| 52 |
-
# {
|
| 53 |
-
# "image": "assets/image/503d193a-1b9b-4685-b05f-00ac82f93d7b.png",
|
| 54 |
-
# },
|
| 55 |
-
# "assets/image/503d193a-1b9b-4685-b05f-00ac82f93d7b.png",
|
| 56 |
-
# "assets/model/503d193a-1b9b-4685-b05f-00ac82f93d7b.glb",
|
| 57 |
-
# 42,
|
| 58 |
-
# False,
|
| 59 |
-
# ],
|
| 60 |
-
# [
|
| 61 |
-
# {
|
| 62 |
-
# "image": "assets/image/34933195-9c2c-4271-8d31-a28bc5348b7a.png",
|
| 63 |
-
# },
|
| 64 |
-
# "assets/model/34933195-9c2c-4271-8d31-a28bc5348b7a.glb",
|
| 65 |
-
# 42,
|
| 66 |
-
# False,
|
| 67 |
-
# ],
|
| 68 |
-
# [
|
| 69 |
-
# {
|
| 70 |
-
# "image": "assets/image/a5d09c66-1617-465c-aec9-431f48d9a7e1.png",
|
| 71 |
-
# },
|
| 72 |
-
# "assets/model/a5d09c66-1617-465c-aec9-431f48d9a7e1.glb",
|
| 73 |
-
# 42,
|
| 74 |
-
# False,
|
| 75 |
-
# ],
|
| 76 |
-
# [
|
| 77 |
-
# {
|
| 78 |
-
# "image": "assets/image/cb7e6c4a-b4dd-483c-9789-3d4887ee7434.png",
|
| 79 |
-
# },
|
| 80 |
-
# "assets/model/cb7e6c4a-b4dd-483c-9789-3d4887ee7434.glb",
|
| 81 |
-
# 42,
|
| 82 |
-
# False,
|
| 83 |
-
# ],
|
| 84 |
-
# [
|
| 85 |
-
# {
|
| 86 |
-
# "image": "assets/image/e799e6b4-3b47-40e0-befb-b156af8758ad.png",
|
| 87 |
-
# },
|
| 88 |
-
# "assets/model/instant3d/e799e6b4-3b47-40e0-befb-b156af8758ad.glb",
|
| 89 |
-
# 42,
|
| 90 |
-
# False,
|
| 91 |
-
# ],
|
| 92 |
-
# ]
|
| 93 |
|
| 94 |
os.makedirs(TMP_DIR, exist_ok=True)
|
| 95 |
|
|
|
|
| 31 |
3. If you want the refine result to be more consistent with the image, please manually increase the CFG strength.
|
| 32 |
"""
|
| 33 |
EXAMPLES = [
|
| 34 |
+
{
|
| 35 |
+
"image": "assets/image/100.png",
|
| 36 |
+
},
|
| 37 |
+
"assets/model/100.glb",
|
| 38 |
+
42,
|
| 39 |
+
False,
|
| 40 |
]
|
| 41 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
os.makedirs(TMP_DIR, exist_ok=True)
|
| 44 |
|