mecoffey commited on
Commit
b2bd2e5
·
1 Parent(s): 5ed5bce

did not work, trying different approach

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -94,7 +94,7 @@ def rand_char_description():
94
  return output1[0]["generated_text"].strip(),output2[0]["generated_text"].strip()
95
 
96
  ##UI is fine as-is
97
- with gr.Blocks() as demo:
98
  title = gr.HTML("<center><h1>NPC Generator</h1></center>")
99
  description = gr.HTML("<center>For tabletop GMs when players ask for a description of random people in the tavern.</center>")
100
  tags = gr.HTML("<center>| Backyard AI | Tiny Titan |</center>")
@@ -133,7 +133,7 @@ with gr.Blocks() as demo:
133
 
134
  with gr.Accordion("Bard Stats", open = False):
135
  with gr.Row():
136
- dcs = gr.Textbox(value = smash, label = "DC to Smash", live = True)
137
  prefs = gr.Textbox(value = pref_traits, label = "Advantage if:")
138
  icks = gr.Textbox(value = ick_traits, label = "Disdvantage if:")
139
 
 
94
  return output1[0]["generated_text"].strip(),output2[0]["generated_text"].strip()
95
 
96
  ##UI is fine as-is
97
+ with gr.Blocks(live = True) as demo:
98
  title = gr.HTML("<center><h1>NPC Generator</h1></center>")
99
  description = gr.HTML("<center>For tabletop GMs when players ask for a description of random people in the tavern.</center>")
100
  tags = gr.HTML("<center>| Backyard AI | Tiny Titan |</center>")
 
133
 
134
  with gr.Accordion("Bard Stats", open = False):
135
  with gr.Row():
136
+ dcs = gr.Textbox(value = smash, label = "DC to Smash")
137
  prefs = gr.Textbox(value = pref_traits, label = "Advantage if:")
138
  icks = gr.Textbox(value = ick_traits, label = "Disdvantage if:")
139