Update app.py
Browse files
app.py
CHANGED
|
@@ -70,7 +70,7 @@ with gr.Blocks() as chatbot:
|
|
| 70 |
character_name = gr.Textbox(placeholder="Type your name here…")
|
| 71 |
charType = gr.CheckboxGroup(["dwarf", "paladin", "bard"], label="Character Type", info="What is their Character Type?")
|
| 72 |
|
| 73 |
-
|
| 74 |
fn=respond,
|
| 75 |
additional_inputs=[character_name, charType], # Pass name into function!
|
| 76 |
type="messages",
|
|
|
|
| 70 |
character_name = gr.Textbox(placeholder="Type your name here…")
|
| 71 |
charType = gr.CheckboxGroup(["dwarf", "paladin", "bard"], label="Character Type", info="What is their Character Type?")
|
| 72 |
|
| 73 |
+
gr.ChatInterface(
|
| 74 |
fn=respond,
|
| 75 |
additional_inputs=[character_name, charType], # Pass name into function!
|
| 76 |
type="messages",
|