demetz commited on
Commit
8d08fe2
·
verified ·
1 Parent(s): 6c44711

Trying to add HTML

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -101,6 +101,7 @@ with gr.Blocks(css=chat_css) as chatbot:
101
  with gr.Row():
102
 
103
  with gr.Column(scale=1):
 
104
  character_name = gr.Textbox(label = "Character Name", placeholder="Type your name here…", info ="optional")
105
  character_class = gr.CheckboxGroup(['Barbarian', 'Bard', 'Cleric', 'Druid', 'Fighter', 'Monk', 'Paladin', 'Ranger', 'Rogue', 'Sorcerer', 'Warlock', 'Wizard'], label="Character Class", info="Choose one or more")
106
  character_alignment = gr.Radio(["Lawful Good", "Neutral Good", "Chaotic Good", "Lawful Neutral", "True Neutral", "Chaotic Neutral", "Lawful Evil", "Neutral Evil", "Chaotic Evil"], elem_id="alignment_radio")
 
101
  with gr.Row():
102
 
103
  with gr.Column(scale=1):
104
+ gr.HTML("<h1>Hello from custom HTML!</h1><p>This is a paragraph.</p>")
105
  character_name = gr.Textbox(label = "Character Name", placeholder="Type your name here…", info ="optional")
106
  character_class = gr.CheckboxGroup(['Barbarian', 'Bard', 'Cleric', 'Druid', 'Fighter', 'Monk', 'Paladin', 'Ranger', 'Rogue', 'Sorcerer', 'Warlock', 'Wizard'], label="Character Class", info="Choose one or more")
107
  character_alignment = gr.Radio(["Lawful Good", "Neutral Good", "Chaotic Good", "Lawful Neutral", "True Neutral", "Chaotic Neutral", "Lawful Evil", "Neutral Evil", "Chaotic Evil"], elem_id="alignment_radio")