与与 commited on
Commit
dffbc77
1 Parent(s): 5831b00

Update case

Browse files
Files changed (4) hide show
  1. app.py +1 -2
  2. examples/case0.png +0 -3
  3. examples/case2.png +2 -2
  4. examples/rs-1.png +0 -3
app.py CHANGED
@@ -146,9 +146,8 @@ with gr.Blocks(title=model_name.split('/')[-1], theme=gr.themes.Ocean()) as demo
146
  image_input = gr.Image(label="image", height=350, type="pil")
147
  gr.Examples(
148
  examples=[
149
- [f"{cur_dir}/examples/case0.png", "Find the area of the shaded region."],
150
  [f"{cur_dir}/examples/case1.png", "explain this model to me."],
151
- [f"{cur_dir}/examples/case2.png", "What is net profit margin as a percentage of total revenue?"],
152
  ],
153
  inputs=[image_input, text_input]
154
  )
 
146
  image_input = gr.Image(label="image", height=350, type="pil")
147
  gr.Examples(
148
  examples=[
 
149
  [f"{cur_dir}/examples/case1.png", "explain this model to me."],
150
+ [f"{cur_dir}/examples/case2.png", "Which city is in the picture?"],
151
  ],
152
  inputs=[image_input, text_input]
153
  )
examples/case0.png DELETED

Git LFS Details

  • SHA256: 6c58d5fb14f9be6f18b841e707e73dd750bae4a5a0c729ee668313dea43fbef4
  • Pointer size: 131 Bytes
  • Size of remote file: 128 kB
examples/case2.png CHANGED

Git LFS Details

  • SHA256: ec9e80cf2885022c8fd6120b9ecb5a11907c6af15a8e89bdc7e6f891ca618b1e
  • Pointer size: 131 Bytes
  • Size of remote file: 232 kB

Git LFS Details

  • SHA256: de1aa721e5cee11794a8b4f3e7e27e2a130820476ab1e47d9e4c74a3f8c6b71b
  • Pointer size: 132 Bytes
  • Size of remote file: 1.07 MB
examples/rs-1.png DELETED

Git LFS Details

  • SHA256: ead57b86f7c3bbbdbb6b4f301be218f1f0b337263d61a0bab36f1dfd0b42e488
  • Pointer size: 131 Bytes
  • Size of remote file: 957 kB