Spaces:
Runtime error
Runtime error
haoning.wu
commited on
Commit
·
bdb5c5d
1
Parent(s):
f8ea2c9
fix img path
Browse files
app.py
CHANGED
|
@@ -137,9 +137,9 @@ def chat(message, history, image_1, image_2, image_3, image_4):
|
|
| 137 |
|
| 138 |
#### Image,Prompts examples
|
| 139 |
examples = [
|
| 140 |
-
["Which part of the image is relatively clearer, the upper part or the lower part? Please analyze in details.",
|
| 141 |
-
["Which image is noisy, and which one is with motion blur? Please analyze in details.",
|
| 142 |
-
["What is the problem in this image, and how to fix it? Please answer my questions one by one.",
|
| 143 |
]
|
| 144 |
|
| 145 |
|
|
@@ -176,6 +176,6 @@ with gr.Blocks(title="img") as demo:
|
|
| 176 |
fn=process_img,
|
| 177 |
inputs=[input_image_ir],
|
| 178 |
outputs=[output_image_ir],
|
| 179 |
-
examples=[
|
| 180 |
)
|
| 181 |
demo.launch(share=True)
|
|
|
|
| 137 |
|
| 138 |
#### Image,Prompts examples
|
| 139 |
examples = [
|
| 140 |
+
["Which part of the image is relatively clearer, the upper part or the lower part? Please analyze in details.", "examples/sausage.jpg", None],
|
| 141 |
+
["Which image is noisy, and which one is with motion blur? Please analyze in details.", "examples/211.jpg", "examples/frog.png"],
|
| 142 |
+
["What is the problem in this image, and how to fix it? Please answer my questions one by one.", "examples/lol_748.png", None],
|
| 143 |
]
|
| 144 |
|
| 145 |
|
|
|
|
| 176 |
fn=process_img,
|
| 177 |
inputs=[input_image_ir],
|
| 178 |
outputs=[output_image_ir],
|
| 179 |
+
examples=["examples/gopro.png", "examples/noise50.png", "examples/lol_748.png"],
|
| 180 |
)
|
| 181 |
demo.launch(share=True)
|