Ziqi commited on
Commit
cb90e16
1 Parent(s): 98feb90
Files changed (1) hide show
  1. app.py +3 -11
app.py CHANGED
@@ -41,23 +41,15 @@ from inference import inference_fn
41
  TITLE = '# ReVersion'
42
  DESCRIPTION = '''
43
  This is a demo for **ReVersion: Diffusion-Based Relation Inversion from Images**
44
- <br>
45
- [[Paper](https://arxiv.org/abs/2303.13495)] |
46
- [[Project Page](https://ziqihuangg.github.io/projects/reversion.html)] |
47
- [[GitHub Code](https://github.com/ziqihuangg/ReVersion)] |
48
- [[Video](https://www.youtube.com/watch?v=pkal3yjyyKQ)]
49
- <br>
50
- It is recommended to upgrade to GPU in Settings after duplicating this space to use it.
51
- <a href="https://huggingface.co/spaces/Ziqi/ReVersion?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
52
  '''
53
  DETAILDESCRIPTION='''
54
  ReVersion
55
  '''
56
  DETAILDESCRIPTION='''
57
  We propose a new task, **Relation Inversion**: Given a few exemplar images, where a relation co-exists in every image, we aim to find a relation prompt **\<R>** to capture this interaction, and apply the relation to new entities to synthesize new scenes.
58
- <center>
59
- <img src="https://huggingface.co/spaces/Ziqi/ReVersion/resolve/main/teaser.jpg" width="800" align="center" >
60
- </center>
61
  '''
62
 
63
 
 
41
  TITLE = '# ReVersion'
42
  DESCRIPTION = '''
43
  This is a demo for **ReVersion: Diffusion-Based Relation Inversion from Images**
44
+ [[Paper](https://arxiv.org/abs/2303.13495)] | [[Project Page](https://ziqihuangg.github.io/projects/reversion.html)] | [[GitHub Code](https://github.com/ziqihuangg/ReVersion)] | [[Video](https://www.youtube.com/watch?v=pkal3yjyyKQ)]
45
+ It is recommended to upgrade to GPU in Settings after duplicating this space to use it. <a href="https://huggingface.co/spaces/Ziqi/ReVersion?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>
 
 
 
 
 
 
46
  '''
47
  DETAILDESCRIPTION='''
48
  ReVersion
49
  '''
50
  DETAILDESCRIPTION='''
51
  We propose a new task, **Relation Inversion**: Given a few exemplar images, where a relation co-exists in every image, we aim to find a relation prompt **\<R>** to capture this interaction, and apply the relation to new entities to synthesize new scenes.
52
+ You can choose an inverted relation in the drop down menu, and use **\<R>** in your prompt for relation-specific text-to-image generation.
 
 
53
  '''
54
 
55