Update app.py
Browse files
app.py
CHANGED
|
@@ -259,6 +259,7 @@ def generate_combined_response(user_prompt):
|
|
| 259 |
sd_prompt = jsonl_to_description(gpt_jsonl)
|
| 260 |
image = generate_image(sd_prompt)
|
| 261 |
final_image = generate_final_output(gpt_jsonl, image, inputText)
|
|
|
|
| 262 |
|
| 263 |
|
| 264 |
now_str = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
|
@@ -294,7 +295,7 @@ def generate_combined_response(user_prompt):
|
|
| 294 |
|
| 295 |
|
| 296 |
# 그라디오에서 보여줄 출력(이미지)과,
|
| 297 |
-
return
|
| 298 |
|
| 299 |
def save_final_image(final_img):
|
| 300 |
"""
|
|
|
|
| 259 |
sd_prompt = jsonl_to_description(gpt_jsonl)
|
| 260 |
image = generate_image(sd_prompt)
|
| 261 |
final_image = generate_final_output(gpt_jsonl, image, inputText)
|
| 262 |
+
return_image = final_image
|
| 263 |
|
| 264 |
|
| 265 |
now_str = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
|
|
|
| 295 |
|
| 296 |
|
| 297 |
# 그라디오에서 보여줄 출력(이미지)과,
|
| 298 |
+
return return_image
|
| 299 |
|
| 300 |
def save_final_image(final_img):
|
| 301 |
"""
|