Spaces:
Running
Running
debug
Browse files
app.py
CHANGED
@@ -49,8 +49,9 @@ def post(
|
|
49 |
'image_prompt': encoded_img
|
50 |
})
|
51 |
r = requests.post(url, data, headers=headers)
|
|
|
52 |
print('请求完毕...')
|
53 |
-
translated_text = r.json()['data']['translated_text']
|
54 |
frames = r.json()['data']['frames']
|
55 |
|
56 |
result_video = ["" for i in range(len(frames))]
|
|
|
49 |
'image_prompt': encoded_img
|
50 |
})
|
51 |
r = requests.post(url, data, headers=headers)
|
52 |
+
print(r)
|
53 |
print('请求完毕...')
|
54 |
+
# translated_text = r.json()['data']['translated_text']
|
55 |
frames = r.json()['data']['frames']
|
56 |
|
57 |
result_video = ["" for i in range(len(frames))]
|