Spaces:
Build error
Build error
Fix labels
Browse files
app.py
CHANGED
@@ -104,11 +104,11 @@ if __name__ == "__main__":
|
|
104 |
iface = gr.Interface(fn=generate_characters,
|
105 |
title="D&D Character Generator",
|
106 |
inputs=[grc.Checkbox(label="Generate Backstories?"),
|
107 |
-
grc.Label("Single-class characters?"),
|
108 |
grc.Slider(minimum=0, maximum=10,
|
|
|
109 |
step=1, default=1),
|
110 |
-
grc.Label("Multi-class characters?"),
|
111 |
grc.Slider(minimum=0, maximum=10,
|
|
|
112 |
step=1, default=1)
|
113 |
],
|
114 |
description="Generates 3 random D&D characters.",
|
|
|
104 |
iface = gr.Interface(fn=generate_characters,
|
105 |
title="D&D Character Generator",
|
106 |
inputs=[grc.Checkbox(label="Generate Backstories?"),
|
|
|
107 |
grc.Slider(minimum=0, maximum=10,
|
108 |
+
label="Single-class characters?",
|
109 |
step=1, default=1),
|
|
|
110 |
grc.Slider(minimum=0, maximum=10,
|
111 |
+
label="Multi-class characters?",
|
112 |
step=1, default=1)
|
113 |
],
|
114 |
description="Generates 3 random D&D characters.",
|