Spaces:
Runtime error
Runtime error
Commit ·
bb3b22e
1
Parent(s): cf53428
fix position
Browse files
app.py
CHANGED
|
@@ -131,8 +131,9 @@ if __name__ == "__main__":
|
|
| 131 |
scale = gr.Number(1.0, label="Input Scale")
|
| 132 |
fit = gr.Button("Submit")
|
| 133 |
|
| 134 |
-
|
| 135 |
-
|
|
|
|
| 136 |
|
| 137 |
fit.click(fn=process, inputs=[width, height, scale, image], outputs=[plot_output, total])
|
| 138 |
|
|
|
|
| 131 |
scale = gr.Number(1.0, label="Input Scale")
|
| 132 |
fit = gr.Button("Submit")
|
| 133 |
|
| 134 |
+
with gr.Column():
|
| 135 |
+
plot_output = gr.Plot()
|
| 136 |
+
total = gr.Number(label="Total")
|
| 137 |
|
| 138 |
fit.click(fn=process, inputs=[width, height, scale, image], outputs=[plot_output, total])
|
| 139 |
|