Spaces:
Sleeping
Sleeping
Update app.py with new name and add camera/clipboard options
Browse files
app.py
CHANGED
|
@@ -307,7 +307,7 @@ with gr.Blocks() as demo:
|
|
| 307 |
with gr.Tab("Disease Detection"):
|
| 308 |
with gr.Row():
|
| 309 |
with gr.Column():
|
| 310 |
-
image_input = gr.Image(type="pil", label="Upload a Tomato Leaf Image")
|
| 311 |
|
| 312 |
scaling_method = gr.Radio(
|
| 313 |
["Temperature Scaling", "Min-Max Normalization"],
|
|
|
|
| 307 |
with gr.Tab("Disease Detection"):
|
| 308 |
with gr.Row():
|
| 309 |
with gr.Column():
|
| 310 |
+
image_input = gr.Image(type="pil", label="Upload a Tomato Leaf Image", sources=["upload", "webcam", "clipboard"])
|
| 311 |
|
| 312 |
scaling_method = gr.Radio(
|
| 313 |
["Temperature Scaling", "Min-Max Normalization"],
|