selfitcamera
commited on
Commit
•
3138356
1
Parent(s):
acaf885
update
Browse files
app.py
CHANGED
@@ -119,9 +119,9 @@ with gr.Blocks(css=css) as demo:
|
|
119 |
gr.Markdown(title)
|
120 |
gr.Markdown(description)
|
121 |
|
122 |
-
with gr.Accordion('upload tips', open=
|
123 |
-
|
124 |
-
|
125 |
|
126 |
with gr.Row():
|
127 |
with gr.Column():
|
|
|
119 |
gr.Markdown(title)
|
120 |
gr.Markdown(description)
|
121 |
|
122 |
+
with gr.Accordion('upload tips', open=True):
|
123 |
+
gr.HTML(f"<img src=\"{tip1}\" >")
|
124 |
+
gr.HTML(f"<img src=\"{tip2}\" >")
|
125 |
|
126 |
with gr.Row():
|
127 |
with gr.Column():
|
utils.py
CHANGED
@@ -48,10 +48,9 @@ def get_result_example(cloth_id, pose_id):
|
|
48 |
return res_path
|
49 |
|
50 |
def get_tips():
|
51 |
-
path1 =
|
52 |
-
path2 =
|
53 |
-
return
|
54 |
-
# return path1, path2
|
55 |
|
56 |
def getAllInfs(apiUrl, openId, apiKey, clientIp):
|
57 |
params = {'openId':openId, 'apiKey':apiKey, 'ipId':clientIp}
|
|
|
48 |
return res_path
|
49 |
|
50 |
def get_tips():
|
51 |
+
path1 = OssUrl+'ClothData/Publics/PoseGuide/tip1.jpg'
|
52 |
+
path2 = OssUrl+'ClothData/Publics/PoseGuide/tip2.jpg'
|
53 |
+
return path1, path2
|
|
|
54 |
|
55 |
def getAllInfs(apiUrl, openId, apiKey, clientIp):
|
56 |
params = {'openId':openId, 'apiKey':apiKey, 'ipId':clientIp}
|