Spaces:
Running
Running
added default to test again
Browse files
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'),
|