Update app.py
Browse files
app.py
CHANGED
@@ -111,9 +111,9 @@ with gr.Blocks(theme=theme) as chatbot:
|
|
111 |
with gr.Column(scale=2):
|
112 |
gr.ChatInterface(
|
113 |
fn=respond,
|
114 |
-
additional_inputs=[character_name, character_class, character_race, character_alignment], # Pass name into function!
|
115 |
-
chatbot=gr.Chatbot(value=["assistant", "Hi there! I'm your assistant. How can I help you today?"]),
|
116 |
type="messages",
|
|
|
|
|
117 |
examples=None)
|
118 |
|
119 |
chatbot.launch()
|
|
|
111 |
with gr.Column(scale=2):
|
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 |
+
chatbot=gr.Chatbot(value=[["", "Hi! I'm Gorf, your helpful frog druid 🐸. Let's make you the perfect new party member!"]]),
|
117 |
examples=None)
|
118 |
|
119 |
chatbot.launch()
|