Update app.py
Browse files
app.py
CHANGED
|
@@ -271,7 +271,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 271 |
|
| 272 |
with gr.Row():
|
| 273 |
with gr.Column(scale=2):
|
| 274 |
-
img_in = gr.Image(type="pil", label="Upload indicator image", source="upload")
|
| 275 |
with gr.Row():
|
| 276 |
mass_in = gr.Number(label="Mass (g)", value=None, precision=0)
|
| 277 |
time_in = gr.Number(label="Time (hr)", value=None, precision=1)
|
|
|
|
| 271 |
|
| 272 |
with gr.Row():
|
| 273 |
with gr.Column(scale=2):
|
| 274 |
+
img_in = gr.Image(type="pil", label="Upload indicator image", source="upload", tool="editor")
|
| 275 |
with gr.Row():
|
| 276 |
mass_in = gr.Number(label="Mass (g)", value=None, precision=0)
|
| 277 |
time_in = gr.Number(label="Time (hr)", value=None, precision=1)
|