selfitcamera
commited on
Commit
•
2ea342a
1
Parent(s):
fcabfa0
setup
Browse files
app.py
CHANGED
@@ -68,8 +68,8 @@ def onLoad(request: gr.Request):
|
|
68 |
print(client_ip, 'history infs: ', len(infs))
|
69 |
for i, inf in enumerate(infs):
|
70 |
if i>4: continue
|
71 |
-
his_datas[i*2] = f"<img src
|
72 |
-
his_datas[i*2+1] = f"<img src
|
73 |
# his_datas[i*2] = inf['pose']
|
74 |
# his_datas[i*2+1] = inf['res']
|
75 |
time.sleep(3)
|
|
|
68 |
print(client_ip, 'history infs: ', len(infs))
|
69 |
for i, inf in enumerate(infs):
|
70 |
if i>4: continue
|
71 |
+
his_datas[i*2] = f"<img src=\"{inf['pose']}\" alt=\"pose_image\">"
|
72 |
+
his_datas[i*2+1] = f"<img src=\"{inf['res']}\" alt=\"res_image\">"
|
73 |
# his_datas[i*2] = inf['pose']
|
74 |
# his_datas[i*2+1] = inf['res']
|
75 |
time.sleep(3)
|