karthikmn commited on
Commit
2dd2de3
·
verified ·
1 Parent(s): 68ed40b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -71,8 +71,8 @@ inputs = [
71
  gr.Slider(minimum=0.5, maximum=5.0, step=0.5, value=1.0, label="Brightness (0.5 to 5.0)"), # Updated here
72
  gr.Slider(minimum=0.5, maximum=2.0, step=0.1, value=1.0, label="Text Size Scale (0.5 to 2.0)"), # Updated here
73
  gr.Slider(minimum=0.5, maximum=5.0, step=0.5, value=1.0, label="Line Thickness Scale (0.5 to 5.0)"), # Updated here
74
- gr.Number(value=8.0, label="Width (in inches)", precision=0.1),
75
- gr.Number(value=11.0, label="Height (in inches)", precision=0.1)
76
  ]
77
 
78
  outputs = [
 
71
  gr.Slider(minimum=0.5, maximum=5.0, step=0.5, value=1.0, label="Brightness (0.5 to 5.0)"), # Updated here
72
  gr.Slider(minimum=0.5, maximum=2.0, step=0.1, value=1.0, label="Text Size Scale (0.5 to 2.0)"), # Updated here
73
  gr.Slider(minimum=0.5, maximum=5.0, step=0.5, value=1.0, label="Line Thickness Scale (0.5 to 5.0)"), # Updated here
74
+ gr.Number(value=8.0, label="Width (in inches)", precision=1), # Updated here: precision set to 1
75
+ gr.Number(value=11.0, label="Height (in inches)", precision=1) # Updated here: precision set to 1
76
  ]
77
 
78
  outputs = [