Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def run(image, model_name):
|
|
| 42 |
|
| 43 |
with gr.Blocks() as demo:
|
| 44 |
with gr.Group():
|
| 45 |
-
image = gr.Image(label="Input image", show_label=False, type="pil")
|
| 46 |
model_name = gr.Textbox(label="Model name", show_label=False)
|
| 47 |
run_button = gr.Button("Run")
|
| 48 |
result = gr.Model3D(label="Result", show_label=False)
|
|
|
|
| 42 |
|
| 43 |
with gr.Blocks() as demo:
|
| 44 |
with gr.Group():
|
| 45 |
+
image = gr.Image(label="Input image", show_label=False, type="pil", height=320)
|
| 46 |
model_name = gr.Textbox(label="Model name", show_label=False)
|
| 47 |
run_button = gr.Button("Run")
|
| 48 |
result = gr.Model3D(label="Result", show_label=False)
|