change reademe
Browse files- README.md +1 -1
- visualizer_drag_gradio.py +10 -9
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title: DragGan - Drag Your GAN
|
3 |
emoji: ππ
|
4 |
colorFrom: purple
|
5 |
colorTo: pink
|
|
|
1 |
---
|
2 |
+
title: DragGan - Drag Your GAN
|
3 |
emoji: ππ
|
4 |
colorFrom: purple
|
5 |
colorTo: pink
|
visualizer_drag_gradio.py
CHANGED
@@ -168,13 +168,13 @@ init_pkl = 'stylegan_human_v2_512'
|
|
168 |
|
169 |
with gr.Blocks() as app:
|
170 |
gr.Markdown("""
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
|
179 |
# renderer = Renderer()
|
180 |
global_state = gr.State({
|
@@ -863,6 +863,7 @@ with gr.Blocks() as app:
|
|
863 |
outputs=[global_state, form_image],
|
864 |
)
|
865 |
|
|
|
866 |
gr.close_all()
|
867 |
-
app.queue(concurrency_count=
|
868 |
-
app.launch(show_api=False)
|
|
|
168 |
|
169 |
with gr.Blocks() as app:
|
170 |
gr.Markdown("""
|
171 |
+
# DragGAN - Drag Your GAN
|
172 |
+
## Interactive Point-based Manipulation on the Generative Image Manifold
|
173 |
+
### Unofficial Gradio Demo
|
174 |
+
|
175 |
+
* Official Repo: [XingangPan](https://github.com/XingangPan/DragGAN)
|
176 |
+
* Gradio Demo by: [LeoXing1996](https://github.com/LeoXing1996) with [OpenMMLab MMagic](https://github.com/open-mmlab/mmagic)
|
177 |
+
""")
|
178 |
|
179 |
# renderer = Renderer()
|
180 |
global_state = gr.State({
|
|
|
863 |
outputs=[global_state, form_image],
|
864 |
)
|
865 |
|
866 |
+
print("SHAReD: Start app", parser.parse_args())
|
867 |
gr.close_all()
|
868 |
+
app.queue(concurrency_count=2, max_size=20, api_open=False)
|
869 |
+
app.launch(share=args.share, show_api=False)
|