Spaces:
Paused
Paused
Update app.py
Browse files
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: {
|
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)
|