demetz commited on
Commit
88e4b28
·
verified ·
1 Parent(s): 3c46432

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -103,13 +103,13 @@ with gr.Blocks(theme=theme) as chatbot:
103
  ], multiselect=True, label="Character Race", info="You can choose multiple")
104
  character_alignment = gr.Dropdown(["Lawful Good", "Neutral Good", "Chaotic Good", "Lawful Neutral", "True Neutral", "Chaotic Neutral", "Lawful Evil", "Neutral Evil", "Chaotic Evil"], label="Character Alignment", elem_classes="alignment_radio")
105
 
106
- with gr.Tab("Step 2"):
107
- with gr.Column(scale=2):
108
- gr.ChatInterface(
109
- fn=respond,
110
- additional_inputs=[character_name, character_class, character_race, character_alignment], # Pass name into function!
111
- type="messages",
112
- examples=None
113
- )
114
 
115
  chatbot.launch()
 
103
  ], multiselect=True, label="Character Race", info="You can choose multiple")
104
  character_alignment = gr.Dropdown(["Lawful Good", "Neutral Good", "Chaotic Good", "Lawful Neutral", "True Neutral", "Chaotic Neutral", "Lawful Evil", "Neutral Evil", "Chaotic Evil"], label="Character Alignment", elem_classes="alignment_radio")
105
 
106
+ with gr.Tab("Step 2"):
107
+ with gr.Column(scale=2):
108
+ gr.ChatInterface(
109
+ fn=respond,
110
+ additional_inputs=[character_name, character_class, character_race, character_alignment], # Pass name into function!
111
+ type="messages",
112
+ examples=None
113
+ )
114
 
115
  chatbot.launch()