nsarrazin HF staff commited on
Commit
6eb4c07
1 Parent(s): c3df30c

output text

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def roll_dice(sides=6):
7
  demo = gr.Interface(
8
  fn=roll_dice,
9
  inputs=gr.Number(value=6, label="Number of Sides"),
10
- outputs="number",
11
  title="Dice Roller",
12
  description="Enter the number of sides for the dice and get the roll result."
13
  )
 
7
  demo = gr.Interface(
8
  fn=roll_dice,
9
  inputs=gr.Number(value=6, label="Number of Sides"),
10
+ outputs="text",
11
  title="Dice Roller",
12
  description="Enter the number of sides for the dice and get the roll result."
13
  )