Spaces:
Runtime error
Runtime error
update url
Browse files
app.py
CHANGED
|
@@ -667,7 +667,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 667 |
|
| 668 |
with gr.Tab("Image & Text"):
|
| 669 |
# Example 1
|
| 670 |
-
gr.Image("https://
|
| 671 |
img_example1_btn = gr.Button("Write a limerick about this image")
|
| 672 |
|
| 673 |
# Example 2
|
|
@@ -678,7 +678,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
|
|
| 678 |
def run_image_example1():
|
| 679 |
return process_image_example_direct(
|
| 680 |
"Write a limerick about this image",
|
| 681 |
-
"https://
|
| 682 |
[], []
|
| 683 |
)
|
| 684 |
|
|
|
|
| 667 |
|
| 668 |
with gr.Tab("Image & Text"):
|
| 669 |
# Example 1
|
| 670 |
+
gr.Image("https://huggingface.co/spaces/microsoft/phi-4-multimodal/resolve/main/Hanoi_Temple_of_Literature.jpg", label="Preview")
|
| 671 |
img_example1_btn = gr.Button("Write a limerick about this image")
|
| 672 |
|
| 673 |
# Example 2
|
|
|
|
| 678 |
def run_image_example1():
|
| 679 |
return process_image_example_direct(
|
| 680 |
"Write a limerick about this image",
|
| 681 |
+
"https://huggingface.co/spaces/microsoft/phi-4-multimodal/resolve/main/Hanoi_Temple_of_Literature.jpg",
|
| 682 |
[], []
|
| 683 |
)
|
| 684 |
|