Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,8 @@ def get_result(text_prompts, style_indx, musicAI_indx, duration):
|
|
95 |
#img_blue_correction.save(imagefile, img_blue_correction.format)
|
96 |
image_output.save(imagefile, image_output.format)
|
97 |
|
98 |
-
interrogate_prompt =
|
|
|
99 |
print(interrogate_prompt)
|
100 |
spec_image, music_output = get_music(interrogate_prompt + ", " + style_list_EN[style_indx], musicAI_indx, duration)
|
101 |
|
|
|
95 |
#img_blue_correction.save(imagefile, img_blue_correction.format)
|
96 |
image_output.save(imagefile, image_output.format)
|
97 |
|
98 |
+
interrogate_prompt = prompt
|
99 |
+
#interrogate_prompt = img_to_text(imagefile, 'fast', 4, fn_index=1)[0]
|
100 |
print(interrogate_prompt)
|
101 |
spec_image, music_output = get_music(interrogate_prompt + ", " + style_list_EN[style_indx], musicAI_indx, duration)
|
102 |
|