Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -142,7 +142,9 @@ def combined_function(user_prompt, seed_words_input):
|
|
| 142 |
|
| 143 |
if __name__ == '__main__':
|
| 144 |
def generate_and_display(user_prompt, seed_words_input):
|
| 145 |
-
|
|
|
|
|
|
|
| 146 |
return formatted_descriptions, images
|
| 147 |
|
| 148 |
interface = gr.Interface(
|
|
|
|
| 142 |
|
| 143 |
if __name__ == '__main__':
|
| 144 |
def generate_and_display(user_prompt, seed_words_input):
|
| 145 |
+
parsed_descriptions = generate_descriptions(user_prompt, seed_words_input)
|
| 146 |
+
formatted_descriptions = format_descriptions(parsed_descriptions)
|
| 147 |
+
images = generate_images(parsed_descriptions)
|
| 148 |
return formatted_descriptions, images
|
| 149 |
|
| 150 |
interface = gr.Interface(
|