Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,7 +59,8 @@ def save_data(t,m,l,n,w,p):
|
|
59 |
im = mi.run_1(name=title,img_size=[256,256])
|
60 |
|
61 |
im1 = f"{os.getcwd()}/images/{title}_prob.png"
|
62 |
-
im2=f"https://{user_name}-{repo_name}.static.hf.space/images/{title}_prob.png"
|
|
|
63 |
#im3=f"{make_im.root}/images/{name}_prob.png"
|
64 |
#uid=uuid.uuid4()
|
65 |
with open('template.html','r') as file:
|
|
|
59 |
im = mi.run_1(name=title,img_size=[256,256])
|
60 |
|
61 |
im1 = f"{os.getcwd()}/images/{title}_prob.png"
|
62 |
+
#im2=f"https://{user_name}-{repo_name}.static.hf.space/images/{title}_prob.png"
|
63 |
+
im2=f"https://huggingface.co/spaces/{user_name}/{repo_name}/resolve/main/images/{title}.png"
|
64 |
#im3=f"{make_im.root}/images/{name}_prob.png"
|
65 |
#uid=uuid.uuid4()
|
66 |
with open('template.html','r') as file:
|