Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -537,18 +537,6 @@ def create_interface():
|
|
| 537 |
height=400
|
| 538 |
)
|
| 539 |
|
| 540 |
-
# Add examples section
|
| 541 |
-
gr.Examples(
|
| 542 |
-
examples=[
|
| 543 |
-
["example/img4.jpg"],
|
| 544 |
-
["example/img10.png"],
|
| 545 |
-
["example/img12.png"],
|
| 546 |
-
["example/img13.jpg"]
|
| 547 |
-
],
|
| 548 |
-
inputs=input_image,
|
| 549 |
-
label="🖼️ Example Images - Click to Try!"
|
| 550 |
-
)
|
| 551 |
-
|
| 552 |
# Process button
|
| 553 |
process_btn = gr.Button(
|
| 554 |
"🚀 Analyze & Process",
|
|
@@ -588,6 +576,18 @@ def create_interface():
|
|
| 588 |
4. **View the chat** to see JarvisIR's reasoning and recommendations in real-time
|
| 589 |
5. **Check the result** - processed image restored to original dimensions
|
| 590 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 591 |
|
| 592 |
return demo
|
| 593 |
|
|
|
|
| 537 |
height=400
|
| 538 |
)
|
| 539 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 540 |
# Process button
|
| 541 |
process_btn = gr.Button(
|
| 542 |
"🚀 Analyze & Process",
|
|
|
|
| 576 |
4. **View the chat** to see JarvisIR's reasoning and recommendations in real-time
|
| 577 |
5. **Check the result** - processed image restored to original dimensions
|
| 578 |
""")
|
| 579 |
+
|
| 580 |
+
# Add examples section at the bottom
|
| 581 |
+
gr.Examples(
|
| 582 |
+
examples=[
|
| 583 |
+
["example/img4.jpg"],
|
| 584 |
+
["example/img10.png"],
|
| 585 |
+
["example/img12.png"],
|
| 586 |
+
["example/img13.jpg"]
|
| 587 |
+
],
|
| 588 |
+
inputs=input_image,
|
| 589 |
+
label="🖼️ Example Images - Click to Try!"
|
| 590 |
+
)
|
| 591 |
|
| 592 |
return demo
|
| 593 |
|