Spaces:
Running on Zero
Running on Zero
Commit Β·
4e65921
1
Parent(s): d2cc181
update examples
Browse files- app.py +7 -3
- example-images/{boat1.jpeg β example-1.png} +2 -2
- example-images/{boat2.jpeg β example-2.png} +2 -2
- example-images/{messy3.jpg β example-3.jpg} +2 -2
- example-images/{messy4.jpg β example-4.png} +2 -2
- example-images/{messy2.jpg β example-5.png} +2 -2
- example-images/{messy1.jpg β example-6.jpg} +2 -2
app.py
CHANGED
|
@@ -226,8 +226,12 @@ with gr.Blocks() as demo:
|
|
| 226 |
gr.Markdown("### Image Examples")
|
| 227 |
gr.Examples(
|
| 228 |
examples=[
|
| 229 |
-
[["example-images/
|
| 230 |
-
[["example-images/
|
|
|
|
|
|
|
|
|
|
|
|
|
| 231 |
],
|
| 232 |
inputs=[images_input, input_text],
|
| 233 |
label="Image Pointing Examples",
|
|
@@ -240,4 +244,4 @@ with gr.Blocks() as demo:
|
|
| 240 |
)
|
| 241 |
|
| 242 |
if __name__ == "__main__":
|
| 243 |
-
demo.launch(css=css, mcp_server=True, ssr_mode=False, show_error=True)
|
|
|
|
| 226 |
gr.Markdown("### Image Examples")
|
| 227 |
gr.Examples(
|
| 228 |
examples=[
|
| 229 |
+
[["example-images/example-1.jpeg"], "open the attachment folder"],
|
| 230 |
+
[["example-images/example-2.jpeg"], "check new york knicks"],
|
| 231 |
+
[["example-images/example-3.jpeg"], "change the smoothing percentage"],
|
| 232 |
+
[["example-images/example-4.jpeg"], "click the cell F-11"],
|
| 233 |
+
[["example-images/example-5.jpeg"], "point to section 303"],
|
| 234 |
+
[["example-images/example-6.jpeg"], "change profile photo"],
|
| 235 |
],
|
| 236 |
inputs=[images_input, input_text],
|
| 237 |
label="Image Pointing Examples",
|
|
|
|
| 244 |
)
|
| 245 |
|
| 246 |
if __name__ == "__main__":
|
| 247 |
+
demo.launch(css=css, mcp_server=True, ssr_mode=False, show_error=True, share=True)
|
example-images/{boat1.jpeg β example-1.png}
RENAMED
|
File without changes
|
example-images/{boat2.jpeg β example-2.png}
RENAMED
|
File without changes
|
example-images/{messy3.jpg β example-3.jpg}
RENAMED
|
File without changes
|
example-images/{messy4.jpg β example-4.png}
RENAMED
|
File without changes
|
example-images/{messy2.jpg β example-5.png}
RENAMED
|
File without changes
|
example-images/{messy1.jpg β example-6.jpg}
RENAMED
|
File without changes
|