demetz commited on
Commit
172f6f2
·
verified ·
1 Parent(s): 3003c6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -82,7 +82,7 @@ with gr.Blocks() as chatbot:
82
  show_download_button=False
83
  )
84
  with gr.Column(scale=10):
85
- gr.Markdown("""#Gorf's Character Shoppe""")
86
 
87
  with gr.Row():
88
 
@@ -92,7 +92,7 @@ with gr.Blocks() as chatbot:
92
  character_name = gr.Textbox(label = "Character Name", placeholder="Type your name here…", info ="optional")
93
  character_class = gr.CheckboxGroup(['Barbarian', 'Bard', 'Cleric', 'Druid', 'Fighter', 'Monk', 'Paladin', 'Ranger', 'Rogue', 'Sorcerer', 'Warlock', 'Wizard'], label="Character Class", info="Choose one or more")
94
  character_alignment = gr.Radio(["Lawful Good", "Neutral Good", "Chaotic Good", "Lawful Neutral", "True Neutral", "Chaotic Neutral", "Lawful Evil", "Neutral Evil", "Chaotic Evil"], elem_classes="alignment_radio")
95
- with gr.Column(scale=1):
96
  gr.ChatInterface(
97
  fn=respond,
98
  additional_inputs=[character_name, character_class, character_alignment], # Pass name into function!
 
82
  show_download_button=False
83
  )
84
  with gr.Column(scale=10):
85
+ gr.Markdown("""# Gorf's Character Shoppe""")
86
 
87
  with gr.Row():
88
 
 
92
  character_name = gr.Textbox(label = "Character Name", placeholder="Type your name here…", info ="optional")
93
  character_class = gr.CheckboxGroup(['Barbarian', 'Bard', 'Cleric', 'Druid', 'Fighter', 'Monk', 'Paladin', 'Ranger', 'Rogue', 'Sorcerer', 'Warlock', 'Wizard'], label="Character Class", info="Choose one or more")
94
  character_alignment = gr.Radio(["Lawful Good", "Neutral Good", "Chaotic Good", "Lawful Neutral", "True Neutral", "Chaotic Neutral", "Lawful Evil", "Neutral Evil", "Chaotic Evil"], elem_classes="alignment_radio")
95
+ with gr.Column(scale=2):
96
  gr.ChatInterface(
97
  fn=respond,
98
  additional_inputs=[character_name, character_class, character_alignment], # Pass name into function!