Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,6 @@ with gr.Blocks() as demo:
|
|
107 |
input_image = gr.Image(
|
108 |
type="pil",
|
109 |
label="Upload 16-bit TIFF Image",
|
110 |
-
tool="editor", # Remove 'source' parameter
|
111 |
)
|
112 |
run_button = gr.Button("Enhance Image")
|
113 |
with gr.Column():
|
@@ -122,9 +121,9 @@ with gr.Blocks() as demo:
|
|
122 |
|
123 |
gr.Examples(
|
124 |
examples=[
|
125 |
-
"sample1.tif",
|
126 |
-
"sample2.tif",
|
127 |
-
"sample3.tif"
|
128 |
],
|
129 |
inputs=input_image,
|
130 |
label="Or try one of these examples",
|
|
|
107 |
input_image = gr.Image(
|
108 |
type="pil",
|
109 |
label="Upload 16-bit TIFF Image",
|
|
|
110 |
)
|
111 |
run_button = gr.Button("Enhance Image")
|
112 |
with gr.Column():
|
|
|
121 |
|
122 |
gr.Examples(
|
123 |
examples=[
|
124 |
+
"examples/sample1.tif",
|
125 |
+
"examples/sample2.tif",
|
126 |
+
"examples/sample3.tif"
|
127 |
],
|
128 |
inputs=input_image,
|
129 |
label="Or try one of these examples",
|