ysakhale commited on
Commit
48a16b5
·
verified ·
1 Parent(s): 3fc7745

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -76,10 +76,10 @@ with gradio.Blocks() as demo:
76
 
77
  with gradio.Row():
78
  height = gradio.Slider(10, 30, step=0.5, value=20.0, label="Height (cm)", info="Book height in centimeters")
79
- width = gradio.Slider(8, 25, step=0.5, value=13.0, label="Width (cm)")
80
- with gradio.Row():
81
- depth = gradio.Slider(1, 10, step=0.1, value=3.0, label="Depth (cm)")
82
- page_count = gradio.Number(value=350, precision=0, label="Page Count")
83
 
84
  proba_pretty = gradio.Label(num_top_classes=5, label="Predicted Genre Probabilities")
85
 
 
76
 
77
  with gradio.Row():
78
  height = gradio.Slider(10, 30, step=0.5, value=20.0, label="Height (cm)", info="Book height in centimeters")
79
+ width = gradio.Slider(8, 25, step=0.5, value=13.0, label="Width (cm)", info="Book width in centimeters")
80
+ depth = gradio.Slider(1, 10, step=0.1, value=3.0, label="Depth (cm)", info="Book thickness in centimeters")
81
+ page_count = gradio.Number(value=350, precision=0, label="Page Count", info="Number of pages in the book")
82
+
83
 
84
  proba_pretty = gradio.Label(num_top_classes=5, label="Predicted Genre Probabilities")
85