Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -121,10 +121,9 @@ def get_user_result_video_list(uuid, date_string, num):
|
|
| 121 |
return valid_video_list, valid_image_list
|
| 122 |
|
| 123 |
def refresh_video(uuid, request_id):
|
| 124 |
-
if is_wanx_platform:
|
| 125 |
-
uuid = 'wanx_lab'
|
| 126 |
if uuid is None or uuid == '':
|
| 127 |
uuid = get_random_string()
|
|
|
|
| 128 |
|
| 129 |
# print(f'profile_name====={profile.name}')
|
| 130 |
notes, process_status = myHumanGen.get_ranking_location(uuid)
|
|
@@ -382,6 +381,7 @@ with gr.Blocks(title = "Dreamoving",
|
|
| 382 |
def async_process(user_id, request_id, input_mode, ref_image_path, ref_video_path, input_prompt='', prompt_template='',model_id=False):
|
| 383 |
if user_id is None or user_id == '':
|
| 384 |
user_id = get_random_string()
|
|
|
|
| 385 |
|
| 386 |
# parm-chheck
|
| 387 |
check_note_info = myHumanGen.valid_check(user_id, request_id, input_mode, ref_image_path, ref_video_path, input_prompt, prompt_template,model_id)
|
|
|
|
| 121 |
return valid_video_list, valid_image_list
|
| 122 |
|
| 123 |
def refresh_video(uuid, request_id):
|
|
|
|
|
|
|
| 124 |
if uuid is None or uuid == '':
|
| 125 |
uuid = get_random_string()
|
| 126 |
+
print(f'[refresh_video] generate a uuid {uuid}')
|
| 127 |
|
| 128 |
# print(f'profile_name====={profile.name}')
|
| 129 |
notes, process_status = myHumanGen.get_ranking_location(uuid)
|
|
|
|
| 381 |
def async_process(user_id, request_id, input_mode, ref_image_path, ref_video_path, input_prompt='', prompt_template='',model_id=False):
|
| 382 |
if user_id is None or user_id == '':
|
| 383 |
user_id = get_random_string()
|
| 384 |
+
print(f'[async_process] generate a uuid {uuid}')
|
| 385 |
|
| 386 |
# parm-chheck
|
| 387 |
check_note_info = myHumanGen.valid_check(user_id, request_id, input_mode, ref_image_path, ref_video_path, input_prompt, prompt_template,model_id)
|