prekshyam commited on
Commit
6d9db7e
·
verified ·
1 Parent(s): 122057c

added default to test again

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -139,7 +139,7 @@ def predict(mask_ratio:float, image:Image):
139
 
140
  demo = gr.Interface(
141
  fn=predict,
142
- inputs=[gr.Textbox(label='masking ratio'), gr.Image(type='pil', label='Input Image')],
143
  outputs=[
144
  gr.Image(type='numpy', label='Randomly Masked Image'),
145
  gr.Image(type='numpy', label='Reconstructed Image'),
 
139
 
140
  demo = gr.Interface(
141
  fn=predict,
142
+ inputs=[gr.Textbox(value = '0.75', label='masking ratio'), gr.Image(type='pil', label='Input Image')],
143
  outputs=[
144
  gr.Image(type='numpy', label='Randomly Masked Image'),
145
  gr.Image(type='numpy', label='Reconstructed Image'),