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