FQiao commited on
Commit
2302505
·
verified ·
1 Parent(s): eed95bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -14
app.py CHANGED
@@ -186,23 +186,19 @@ with tempfile.TemporaryDirectory() as tmpdir:
186
  gr.Markdown(
187
  """
188
  # StereoGen: Towards Open-World Generation of Stereo Images and Unsupervised Matching
 
 
 
 
 
189
 
190
- <div style="display: flex; gap: 2px; margin: 1em 0">
191
- <a href="https://qjizhi.github.io/genstereo"><img src="https://img.shields.io/badge/Project-Web-green"></a>
192
- <a href="https://huggingface.co/spaces/FQiao/GenStereo"><img src="https://img.shields.io/badge/Spaces-Demo-yellow?logo=huggingface"></a>
193
- <a href="https://github.com/Qjizhi/GenStereo"><img src="https://img.shields.io/badge/Github-Repo-orange?logo=github"></a>
194
- <a href="https://huggingface.co/FQiao/GenStereo/tree/main"><img src="https://img.shields.io/badge/Models-checkpoints-blue?logo=huggingface"></a>
195
- <a href="https://arxiv.org/abs/2405.17251"><img src="https://img.shields.io/badge/arXiv-2405.17251-red"></a>
196
- </div>
197
-
198
- ## Introduction
199
  This is an official demo for the paper "[Towards Open-World Generation of Stereo Images and Unsupervised Matching](https://qjizhi.github.io/genstereo)". Given an arbitrary reference image, GenStereo can generate the corresponding right-view image.
200
 
201
- ## How to Use
202
- 1. Upload a reference image to "Left Image"
203
- *(You can also select an image from "Examples")*
204
- 2. Adjust the Scale Factor (controls depth intensity)
205
- 3. Click "Generate a right image" and view results
206
  """
207
  )
208
  file = gr.File(label='Left', file_types=['image'])
 
186
  gr.Markdown(
187
  """
188
  # StereoGen: Towards Open-World Generation of Stereo Images and Unsupervised Matching
189
+ [![Project Site](https://img.shields.io/badge/Project-Web-green)](https://qjizhi.github.io/genstereo) &nbsp;
190
+ [![Spaces](https://img.shields.io/badge/Spaces-Demo-yellow?logo=huggingface)](https://huggingface.co/spaces/FQiao/GenStereo) &nbsp;
191
+ [![Github](https://img.shields.io/badge/Github-Repo-orange?logo=github)](https://github.com/Qjizhi/GenStereo) &nbsp;
192
+ [![Models](https://img.shields.io/badge/Models-checkpoints-blue?logo=huggingface)](https://huggingface.co/FQiao/GenStereo/tree/main) &nbsp;
193
+ [![arXiv](https://img.shields.io/badge/arXiv-2405.17251-red?logo=arxiv)]()
194
 
195
+ ## Introduction
 
 
 
 
 
 
 
 
196
  This is an official demo for the paper "[Towards Open-World Generation of Stereo Images and Unsupervised Matching](https://qjizhi.github.io/genstereo)". Given an arbitrary reference image, GenStereo can generate the corresponding right-view image.
197
 
198
+ ## How to Use
199
+ 1. Upload a reference image to "Left Image"
200
+ - You can also select an image from "Examples"
201
+ 3. Hit "Generate a right image" button and check the result
 
202
  """
203
  )
204
  file = gr.File(label='Left', file_types=['image'])