Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,6 +81,8 @@ def chat_bot(history):
|
|
| 81 |
history.append({"role": "assistant", "content": {"path": image}})
|
| 82 |
yield history
|
| 83 |
|
|
|
|
|
|
|
| 84 |
# Interface Code
|
| 85 |
with gr.Blocks() as app:
|
| 86 |
chatbot = gr.Chatbot(
|
|
@@ -89,7 +91,7 @@ with gr.Blocks() as app:
|
|
| 89 |
show_label=True,
|
| 90 |
type='messages',
|
| 91 |
bubble_full_width=False,
|
| 92 |
-
avatar_images=(None, "/
|
| 93 |
)
|
| 94 |
text_box = gr.MultimodalTextbox(
|
| 95 |
placeholder="Enter text or upload an image...",
|
|
|
|
| 81 |
history.append({"role": "assistant", "content": {"path": image}})
|
| 82 |
yield history
|
| 83 |
|
| 84 |
+
welcome_message = "Hey, I’m CreativeMuse—your creative companion when inspiration runs dry. Stuck on an idea? Let’s shake things up and spark something new together."
|
| 85 |
+
|
| 86 |
# Interface Code
|
| 87 |
with gr.Blocks() as app:
|
| 88 |
chatbot = gr.Chatbot(
|
|
|
|
| 91 |
show_label=True,
|
| 92 |
type='messages',
|
| 93 |
bubble_full_width=False,
|
| 94 |
+
avatar_images=(None, "../images/1eb05f325ec50a15c8b045f3428d6d5e.jpg")
|
| 95 |
)
|
| 96 |
text_box = gr.MultimodalTextbox(
|
| 97 |
placeholder="Enter text or upload an image...",
|