DGSpitzer commited on
Commit
5a9ff0e
1 Parent(s): 31a02bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 = img_to_text(imagefile, 'fast', 4, fn_index=1)[0]
 
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