upload
Browse files
app.py
CHANGED
@@ -36,6 +36,7 @@ iface = gr.Interface(fn=describe, inputs=[gr.Textbox(label="Your DND character",
|
|
36 |
outputs=gr.Textbox(label="The character",show_label=True))
|
37 |
iface.launch()
|
38 |
|
|
|
39 |
def stat(n_dice, dice_rank):
|
40 |
results = [ # Generate n_dice numbers between [1,dice_rank]
|
41 |
random.randint(1, dice_rank)
|
|
|
36 |
outputs=gr.Textbox(label="The character",show_label=True))
|
37 |
iface.launch()
|
38 |
|
39 |
+
|
40 |
def stat(n_dice, dice_rank):
|
41 |
results = [ # Generate n_dice numbers between [1,dice_rank]
|
42 |
random.randint(1, dice_rank)
|