Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks(theme=theme) as chatbot:
|
|
105 |
|
106 |
with gr.Column(scale=2):
|
107 |
gr.ChatInterface(
|
108 |
-
value="Hi, I'm Gorf! Fill me in on what's going on in your campaign, such as your situation, your goals, and about your current party members. I will help recruit someone who I think will be a perfect addition!"
|
109 |
fn=respond,
|
110 |
additional_inputs=[character_name, character_class, character_race, character_alignment], # Pass name into function!
|
111 |
type="messages",
|
|
|
105 |
|
106 |
with gr.Column(scale=2):
|
107 |
gr.ChatInterface(
|
108 |
+
chatbot=gr.Chatbot(value=[("assistant", "Hi, I'm Gorf! Fill me in on what's going on in your campaign, such as your situation, your goals, and about your current party members. I will help recruit someone who I think will be a perfect addition!"])
|
109 |
fn=respond,
|
110 |
additional_inputs=[character_name, character_class, character_race, character_alignment], # Pass name into function!
|
111 |
type="messages",
|