DGSpitzer commited on
Commit
3797752
1 Parent(s): e540890

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(uploaded_image, '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
 
 
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