Update app.py
Browse files
app.py
CHANGED
@@ -87,15 +87,26 @@ def respond(message, history):
|
|
87 |
# chatbot = gr.ChatInterface(respond, type="messages")
|
88 |
|
89 |
|
90 |
-
|
91 |
-
|
92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
type="messages",
|
94 |
examples=None,
|
95 |
title="Character Creator",
|
96 |
-
description="Welcome! Tell me what you want to create and we can make your character come to life!"
|
97 |
-
|
|
|
98 |
|
|
|
|
|
99 |
|
100 |
chatbot.launch()
|
101 |
|
|
|
87 |
# chatbot = gr.ChatInterface(respond, type="messages")
|
88 |
|
89 |
|
90 |
+
with gr.Blocks() as chatbot:
|
91 |
+
with gr.Row(scale=1):
|
92 |
+
with gr.Row(scale=1):
|
93 |
+
with gr.Column(scale=1):
|
94 |
+
gr.Image(
|
95 |
+
value="frog.png",
|
96 |
+
show_label=False,
|
97 |
+
show_share_button = False,
|
98 |
+
show_download_button = False)
|
99 |
+
with gr.Column(scale=1):
|
100 |
+
gr.ChatInterface( respond,
|
101 |
type="messages",
|
102 |
examples=None,
|
103 |
title="Character Creator",
|
104 |
+
description="Welcome! Tell me what you want to create and we can make your character come to life!")
|
105 |
+
|
106 |
+
|
107 |
|
108 |
+
|
109 |
+
|
110 |
|
111 |
chatbot.launch()
|
112 |
|