Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -174,14 +174,13 @@ with gr.Blocks() as demo:
|
|
| 174 |
#generated_image = gr.Image(label="AI Generated Interpretation")
|
| 175 |
|
| 176 |
# Add example images using local paths
|
| 177 |
-
|
| 178 |
examples=example_images,
|
| 179 |
inputs=input_image,
|
| 180 |
-
examples_per_page=6
|
| 181 |
-
fn=process_image,
|
| 182 |
-
outputs=[label_output]#, generated_image, wiki_output, status_output] # ← UPDATED
|
| 183 |
)
|
| 184 |
|
|
|
|
| 185 |
input_image.change(
|
| 186 |
fn=process_image,
|
| 187 |
inputs=input_image,
|
|
|
|
| 174 |
#generated_image = gr.Image(label="AI Generated Interpretation")
|
| 175 |
|
| 176 |
# Add example images using local paths
|
| 177 |
+
gr.Examples(
|
| 178 |
examples=example_images,
|
| 179 |
inputs=input_image,
|
| 180 |
+
examples_per_page=6
|
|
|
|
|
|
|
| 181 |
)
|
| 182 |
|
| 183 |
+
|
| 184 |
input_image.change(
|
| 185 |
fn=process_image,
|
| 186 |
inputs=input_image,
|