Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -120,8 +120,8 @@ def get_user_result_video_list(uuid, date_string, num):
|
|
120 |
break
|
121 |
return valid_video_list, valid_image_list
|
122 |
|
123 |
-
def refresh_video(uuid, request_id):
|
124 |
-
print(f'profile_name====={
|
125 |
notes, process_status = myHumanGen.get_ranking_location(uuid)
|
126 |
if is_wanx_platform:
|
127 |
uuid = 'wanx_lab'
|
@@ -358,7 +358,7 @@ with gr.Blocks(title = "Dreamoving",
|
|
358 |
refresh_button.click(
|
359 |
fn=refresh_video,
|
360 |
queue = False,
|
361 |
-
inputs=[uuid, request_id],
|
362 |
outputs=[user_notes, output_video0, output_video1, output_video2, output_video3]
|
363 |
)
|
364 |
|
|
|
120 |
break
|
121 |
return valid_video_list, valid_image_list
|
122 |
|
123 |
+
def refresh_video(uuid, request_id, profile):
|
124 |
+
print(f'profile_name====={profile.name}')
|
125 |
notes, process_status = myHumanGen.get_ranking_location(uuid)
|
126 |
if is_wanx_platform:
|
127 |
uuid = 'wanx_lab'
|
|
|
358 |
refresh_button.click(
|
359 |
fn=refresh_video,
|
360 |
queue = False,
|
361 |
+
inputs=[uuid, request_id, profile: gr.OAuthProfile],
|
362 |
outputs=[user_notes, output_video0, output_video1, output_video2, output_video3]
|
363 |
)
|
364 |
|