Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -133,10 +133,7 @@ def generate(
|
|
| 133 |
|
| 134 |
final_story = "".join(outputs)
|
| 135 |
image_url = generate_image(final_story)
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
|
| 141 |
chat_interface = gr.ChatInterface(
|
| 142 |
fn=generate,
|
|
@@ -147,7 +144,7 @@ chat_interface = gr.ChatInterface(
|
|
| 147 |
["Could you please provide an explanation about the concept of recursion?"],
|
| 148 |
["Could you explain what a URL is?"]
|
| 149 |
],
|
| 150 |
-
theme='shivi/calm_seafoam',autofocus=True
|
| 151 |
)
|
| 152 |
|
| 153 |
# Gradio Web Interface
|
|
|
|
| 133 |
|
| 134 |
final_story = "".join(outputs)
|
| 135 |
image_url = generate_image(final_story)
|
| 136 |
+
outputs.append(image_url)
|
|
|
|
|
|
|
|
|
|
| 137 |
|
| 138 |
chat_interface = gr.ChatInterface(
|
| 139 |
fn=generate,
|
|
|
|
| 144 |
["Could you please provide an explanation about the concept of recursion?"],
|
| 145 |
["Could you explain what a URL is?"]
|
| 146 |
],
|
| 147 |
+
theme='shivi/calm_seafoam',autofocus=True,
|
| 148 |
)
|
| 149 |
|
| 150 |
# Gradio Web Interface
|