fffiloni commited on
Commit
33982b5
โ€ข
1 Parent(s): 4d345df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ def get_prompts(uploaded_image, track_duration, gen_intensity, gen_mode, openai_
112
  prompt = img_to_text(uploaded_image, 'best', 4, fn_index=1)[0]
113
  print(prompt)
114
  clean_prompt = clean_text(prompt)
115
- print(f"prompt cleaned: {prompt}")
116
  musical_prompt = 'You did not use any OpenAI API key to pimp your result :)'
117
  if openai_api_key is not None:
118
  gpt_adaptation = try_api(prompt, openai_api_key)
 
112
  prompt = img_to_text(uploaded_image, 'best', 4, fn_index=1)[0]
113
  print(prompt)
114
  clean_prompt = clean_text(prompt)
115
+ print(f"prompt cleaned: {clean_prompt}")
116
  musical_prompt = 'You did not use any OpenAI API key to pimp your result :)'
117
  if openai_api_key is not None:
118
  gpt_adaptation = try_api(prompt, openai_api_key)