demetz commited on
Commit
d4db6df
·
verified ·
1 Parent(s): 807c2a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -108,10 +108,10 @@ with gr.Blocks(theme=theme) as chatbot:
108
 
109
 
110
  with gr.Column(scale=2):
111
- with gr.Column(scale=2):
112
- with gr.ChatInterface(
113
- fn=respond,
114
- type="messages",
115
- additional_inputs=[character_name, character_class, character_race, character_alignment]) as chat: # 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()
 
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()