haoning.wu commited on
Commit
bdb5c5d
1 Parent(s): f8ea2c9

fix img path

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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.", Image.open("examples/sausage.jpg"), None],
141
- ["Which image is noisy, and which one is with motion blur? Please analyze in details.", Image.open("examples/211.jpg"), Image.open("examples/frog.png")],
142
- ["What is the problem in this image, and how to fix it? Please answer my questions one by one.", Image.open("examples/lol_748.png"), None],
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=[Image.open("examples/gopro.png"), Image.open("examples/noise50.png"), Image.open("examples/lol_748.png")],
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)