Spaces:
Sleeping
Sleeping
fix: strange CSS in Gradio.
Browse files- ARTICLE.md +13 -0
- README.md +0 -6
- app.py +1 -4
- assets/style.css +0 -7
ARTICLE.md
CHANGED
@@ -18,3 +18,16 @@ If our work is useful for your research, please consider citing:
|
|
18 |
|
19 |
This project is licensed under [S-Lab License 1.0](https://huggingface.co/hzxie/city-dreamer/blob/main/LICENSE).
|
20 |
Redistribution and use for non-commercial purposes should follow this license.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
This project is licensed under [S-Lab License 1.0](https://huggingface.co/hzxie/city-dreamer/blob/main/LICENSE).
|
20 |
Redistribution and use for non-commercial purposes should follow this license.
|
21 |
+
|
22 |
+
🤗 **Find Me:**
|
23 |
+
|
24 |
+
<a href="https://github.com/hzxie">
|
25 |
+
<img style="display: inline-block; margin-right: 20px" src="https://img.shields.io/github/followers/hzxie">
|
26 |
+
</a>
|
27 |
+
<a href="https://twitter.com/zjhzxhz">
|
28 |
+
<img style="display: inline-block" src="https://img.shields.io/twitter/follow/zjhzxhz">
|
29 |
+
</a>
|
30 |
+
|
31 |
+
---
|
32 |
+
|
33 |
+
<img src='https://api.infinitescript.com/badgen/count?name=hzxie/CityDreamer<ext=Visitors&color=fdba74' style="margin: 0 auto">
|
README.md
CHANGED
@@ -10,12 +10,6 @@ pinned: false
|
|
10 |
license: other
|
11 |
---
|
12 |
|
13 |
-
![Counter](https://api.infinitescript.com/badgen/count?name=hzxie/CityDreamer)
|
14 |
-
[![arXiv](https://img.shields.io/badge/arXiv-2309.00610-b31b1b.svg)](https://arxiv.org/abs/2309.00610)
|
15 |
-
[![YouTube](https://img.shields.io/badge/Spotlight%20Video-%23FF0000.svg?logo=YouTube&logoColor=white)](https://youtu.be/te4zinLTYz0)
|
16 |
-
[![GitHub](https://img.shields.io/github/stars/hzxie/city-dreamer)](https://github.com/hzxie/city-dreamer)
|
17 |
-
[![Twitter](https://img.shields.io/twitter/follow/zjhzxhz)](https://twitter.com/zjhzxhz)
|
18 |
-
|
19 |
Official demo for **[CityDreamer: Compositional Generative Model of Unbounded 3D Cities](https://github.com/hzxie/city-dreamer) (CVPR 2024).**
|
20 |
|
21 |
- 🔥 CityDreamer is a unbounded 3D city layout generator.
|
|
|
10 |
license: other
|
11 |
---
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
Official demo for **[CityDreamer: Compositional Generative Model of Unbounded 3D Cities](https://github.com/hzxie/city-dreamer) (CVPR 2024).**
|
14 |
|
15 |
- 🔥 CityDreamer is a unbounded 3D city layout generator.
|
app.py
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
# @Author: Haozhe Xie
|
5 |
# @Date: 2024-03-02 16:30:00
|
6 |
# @Last Modified by: Haozhe Xie
|
7 |
-
# @Last Modified at: 2024-03-03 10:25
|
8 |
# @Email: [email protected]
|
9 |
|
10 |
import logging
|
@@ -68,8 +68,6 @@ def main(debug):
|
|
68 |
desc = markdown[markdown.rfind("---") + 3:]
|
69 |
with open("ARTICLE.md", "r") as f:
|
70 |
arti = f.read()
|
71 |
-
with open("assets/style.css") as f:
|
72 |
-
css = f.read()
|
73 |
|
74 |
app = gr.Interface(
|
75 |
get_generated_city,
|
@@ -87,7 +85,6 @@ def main(debug):
|
|
87 |
description=desc,
|
88 |
article=arti,
|
89 |
allow_flagging="never",
|
90 |
-
css=css,
|
91 |
)
|
92 |
app.queue(api_open=False)
|
93 |
app.launch(debug=debug)
|
|
|
4 |
# @Author: Haozhe Xie
|
5 |
# @Date: 2024-03-02 16:30:00
|
6 |
# @Last Modified by: Haozhe Xie
|
7 |
+
# @Last Modified at: 2024-03-03 10:39:25
|
8 |
# @Email: [email protected]
|
9 |
|
10 |
import logging
|
|
|
68 |
desc = markdown[markdown.rfind("---") + 3:]
|
69 |
with open("ARTICLE.md", "r") as f:
|
70 |
arti = f.read()
|
|
|
|
|
71 |
|
72 |
app = gr.Interface(
|
73 |
get_generated_city,
|
|
|
85 |
description=desc,
|
86 |
article=arti,
|
87 |
allow_flagging="never",
|
|
|
88 |
)
|
89 |
app.queue(api_open=False)
|
90 |
app.launch(debug=debug)
|
assets/style.css
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
h1 {
|
2 |
-
display: block;
|
3 |
-
}
|
4 |
-
|
5 |
-
p img {
|
6 |
-
display: inline-block;
|
7 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|