Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 81 |
-
|
| 82 |
-
|
| 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 |
|