Spaces:
Runtime error
Runtime error
selfitcamera
commited on
Commit
•
a67de12
1
Parent(s):
e68a153
init
Browse files
.DS_Store
CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
|
|
Datas/UserRecord_2/Ips/127.0.0.1.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 307
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec1d1ff6b15e740123e6400a1e7a86ce492130e7d6d3549cb7c198ffca5ae867
|
3 |
size 307
|
Datas/{UserRecord_9 → UserRecord_2}/Tokens/f3beccd5-e00f-4af3-b442-efe7e8746899.pkl
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33f24f839ae1fb1d3a516c5b448e830ecddd6d295a8fd4ab798fdf80cda049c7
|
3 |
+
size 307
|
Datas/UserRecord_9/Ips/127.0.0.1.pkl
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:da8a6fd81a6423329221bade2789a60a1df18a1fd4d58c650bae257cd4104e06
|
3 |
-
size 218
|
|
|
|
|
|
|
|
__pycache__/config.cpython-312.pyc
CHANGED
Binary files a/__pycache__/config.cpython-312.pyc and b/__pycache__/config.cpython-312.pyc differ
|
|
app.py
CHANGED
@@ -104,7 +104,7 @@ def onClick(temp_image, user_image, caption_text, token_text,
|
|
104 |
yield None, f"task failed, query {i}, status {status}"
|
105 |
return None, f"task failed, query {i}, status {status}"
|
106 |
elif status in ['IN_QUEUE', 'IN_PROGRESS', 'IN_QUEUE', ]:
|
107 |
-
yield None, f"task is on processing, query {i},
|
108 |
elif status=='COMPLETED':
|
109 |
out = taskStatus['output']['job_results']['output1']
|
110 |
yield out, f"task is COMPLETED"
|
|
|
104 |
yield None, f"task failed, query {i}, status {status}"
|
105 |
return None, f"task failed, query {i}, status {status}"
|
106 |
elif status in ['IN_QUEUE', 'IN_PROGRESS', 'IN_QUEUE', ]:
|
107 |
+
yield None, f"task is on processing, query {i}, status {status}, please do not exit !!!"
|
108 |
elif status=='COMPLETED':
|
109 |
out = taskStatus['output']['job_results']['output1']
|
110 |
yield out, f"task is COMPLETED"
|
config.py
CHANGED
@@ -144,12 +144,12 @@ elif taskType=="2":
|
|
144 |
TempInter = False
|
145 |
# 标题
|
146 |
title = r"""
|
147 |
-
<h1 align="center">
|
148 |
"""
|
149 |
# 标题下的描述
|
150 |
description = r"""
|
151 |
-
Go to <a href='https://heybeauty.ai/
|
152 |
-
|
153 |
1. Please wait for a while after submitting the task, you will get the result within 30 seconds.
|
154 |
2. After exhausted all trial attempts, you can <a href='https://heybeauty.ai/home/apikeys' target='_blank'><b>find your api key here</b></a> .<br>
|
155 |
3. Share app with your friends and enjoy! 😊.<br>
|
|
|
144 |
TempInter = False
|
145 |
# 标题
|
146 |
title = r"""
|
147 |
+
<h1 align="center">AI Object Removal</h1>
|
148 |
"""
|
149 |
# 标题下的描述
|
150 |
description = r"""
|
151 |
+
Go to <a href='https://heybeauty.ai/remove-object' target='_blank'><b>HeyBeauty</b></a> for Faster and Free Object Removal! 🤗 .<br>
|
152 |
+
|
153 |
1. Please wait for a while after submitting the task, you will get the result within 30 seconds.
|
154 |
2. After exhausted all trial attempts, you can <a href='https://heybeauty.ai/home/apikeys' target='_blank'><b>find your api key here</b></a> .<br>
|
155 |
3. Share app with your friends and enjoy! 😊.<br>
|