Update app.py
Browse files
app.py
CHANGED
@@ -108,10 +108,10 @@ with gr.Blocks(theme=theme) as chatbot:
|
|
108 |
|
109 |
|
110 |
with gr.Column(scale=2):
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
chatbot.launch()
|
|
|
108 |
|
109 |
|
110 |
with gr.Column(scale=2):
|
111 |
+
with gr.Column(scale=2):
|
112 |
+
chat = gr.ChatInterface(
|
113 |
+
fn=respond,
|
114 |
+
type="messages",
|
115 |
+
additional_inputs=[character_name, character_class, character_race, character_alignment]) # Pass name into function!
|
116 |
+
chat.chatbot.value = [["", "Hi! I'm Gorf, your helpful frog druid 🐸. Let's make you the perfect new party member!"]]
|
117 |
chatbot.launch()
|