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