Spaces:
Sleeping
Sleeping
zimhe
commited on
Commit
·
fdd3927
1
Parent(s):
cc96821
change default image
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ MAX_IMAGE_SIZE = 512
|
|
| 68 |
# 获取当前脚本所在目录
|
| 69 |
current_dir = os.path.dirname(os.path.abspath(__file__))
|
| 70 |
viewer_html_path = os.path.join(current_dir, "viewer.html")
|
| 71 |
-
default_image_path =
|
| 72 |
|
| 73 |
# 读取 viewer.html 内容
|
| 74 |
with open(viewer_html_path, 'r', encoding='utf-8') as f:
|
|
|
|
| 68 |
# 获取当前脚本所在目录
|
| 69 |
current_dir = os.path.dirname(os.path.abspath(__file__))
|
| 70 |
viewer_html_path = os.path.join(current_dir, "viewer.html")
|
| 71 |
+
default_image_path = "https://huggingface.co/zimhe/SpatialDiffusion/blob/main/examples/004.png"
|
| 72 |
|
| 73 |
# 读取 viewer.html 内容
|
| 74 |
with open(viewer_html_path, 'r', encoding='utf-8') as f:
|