Spaces:
Running
on
Zero
Running
on
Zero
Yuxuan Zhang
commited on
Commit
·
b50b7da
1
Parent(s):
156ff8a
model
Browse files- app.py +5 -5
- img/img_1.png +0 -0
- img/img_2.png +0 -0
- requirements.txt +1 -1
app.py
CHANGED
@@ -130,8 +130,8 @@ def infer(prompt, seed, randomize_seed, width, height, guidance_scale, num_infer
|
|
130 |
|
131 |
|
132 |
examples = [
|
133 |
-
"
|
134 |
-
"
|
135 |
"A vintage red convertible with gleaming chrome finishes sits attractively under the golden hues of a setting sun, parked on a deserted cobblestone street in a charming old town. The car's polished body reflects the surrounding quaint buildings and the few early evening stars beginning to twinkle in the gentle gradient of the twilight sky. A light breeze teases the few fallen leaves near the car's pristine white-walled tires, which rest casually by the sidewalk, hinting at the leisurely pace of life in this serene setting."
|
136 |
]
|
137 |
|
@@ -143,7 +143,7 @@ with gr.Blocks() as demo:
|
|
143 |
</div>
|
144 |
<div style="text-align: center;">
|
145 |
<a href="https://huggingface.co/THUDM/CogView4-6B">🤗 Model Hub |
|
146 |
-
<a href="https://github.com/THUDM/
|
147 |
<a href="https://arxiv.org/abs/2403.05121">📜 arxiv </a>
|
148 |
</div>
|
149 |
<div style="text-align: center;display: flex;justify-content: center;align-items: center;margin-top: 1em;margin-bottom: .5em;">
|
@@ -191,7 +191,7 @@ with gr.Blocks() as demo:
|
|
191 |
label="Width",
|
192 |
minimum=512,
|
193 |
maximum=2048,
|
194 |
-
step=
|
195 |
value=1024,
|
196 |
)
|
197 |
|
@@ -199,7 +199,7 @@ with gr.Blocks() as demo:
|
|
199 |
label="Height",
|
200 |
minimum=512,
|
201 |
maximum=2048,
|
202 |
-
step=
|
203 |
value=1024,
|
204 |
)
|
205 |
|
|
|
130 |
|
131 |
|
132 |
examples = [
|
133 |
+
"这是一幅充满皮克斯风格的动画渲染图像,展现了一只拟人化的粘土风格小蛇。这条快乐的小蛇身着魔术师装扮,占据了画面下方三分之一的位置,显得俏皮而生动。它的头上戴着一顶黑色羊毛材质的复古礼帽,身上穿着一件设计独特的红色棉袄,白色的毛袖增添了一抹温暖的对比。小蛇的鳞片上精心绘制了金色梅花花纹,显得既华丽又不失可爱。它的腹部和脸庞呈现洁白,与红色的身体形成鲜明对比。 这条蜿蜒的小蛇拥有可爱的塑胶手办质感,仿佛随时会从画面中跃然而出。背景是一片鲜艳的红色,地面上散布着宝箱、金蛋和红色灯笼等装饰物,营造出浓厚的节日气氛。画面的上半部分用金色连体字书写着 “Happy New Year”,庆祝新年的到来,同时也暗示了蛇年的到来,为整幅画面增添了一份节日的喜悦和祥瑞。"
|
134 |
+
"在这幅如梦似幻的画作中,一辆由云朵构成的毛绒汽车轻盈地漂浮在蔚蓝的高空之中。这辆汽车设计独特,车身完全由洁白、蓬松的云朵编织而成,每一处都散发着柔软而毛茸茸的质感。从车顶到轮胎,再到它的圆润车灯,无一不是由细腻的云丝构成,仿佛随时都可能随风轻轻摆动。车窗也是由透明的云物质构成,同样覆盖着一层细软的绒毛,让人不禁想要触摸。 这辆神奇的云朵汽车仿佛是魔法世界中的交通工具,它悬浮在夕阳映照的绚丽天空之中,周围是五彩斑斓的晚霞和悠然飘浮的云彩。夕阳的余晖洒在云朵车上,为其柔软的轮廓镀上了一层金色的光辉,使得整个场景既温馨又神秘,引人入胜。",
|
135 |
"A vintage red convertible with gleaming chrome finishes sits attractively under the golden hues of a setting sun, parked on a deserted cobblestone street in a charming old town. The car's polished body reflects the surrounding quaint buildings and the few early evening stars beginning to twinkle in the gentle gradient of the twilight sky. A light breeze teases the few fallen leaves near the car's pristine white-walled tires, which rest casually by the sidewalk, hinting at the leisurely pace of life in this serene setting."
|
136 |
]
|
137 |
|
|
|
143 |
</div>
|
144 |
<div style="text-align: center;">
|
145 |
<a href="https://huggingface.co/THUDM/CogView4-6B">🤗 Model Hub |
|
146 |
+
<a href="https://github.com/THUDM/CogView4">🌐 Github</a> |
|
147 |
<a href="https://arxiv.org/abs/2403.05121">📜 arxiv </a>
|
148 |
</div>
|
149 |
<div style="text-align: center;display: flex;justify-content: center;align-items: center;margin-top: 1em;margin-bottom: .5em;">
|
|
|
191 |
label="Width",
|
192 |
minimum=512,
|
193 |
maximum=2048,
|
194 |
+
step=16,
|
195 |
value=1024,
|
196 |
)
|
197 |
|
|
|
199 |
label="Height",
|
200 |
minimum=512,
|
201 |
maximum=2048,
|
202 |
+
step=16,
|
203 |
value=1024,
|
204 |
)
|
205 |
|
img/img_1.png
CHANGED
![]() |
Git LFS Details
|
![]() |
img/img_2.png
CHANGED
![]() |
Git LFS Details
|
![]() |
requirements.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
accelerate>=1.3.0
|
2 |
sentencepiece>=0.2.0
|
3 |
-
git+https://github.com/
|
4 |
gradio>=5.15.0
|
5 |
transformers>=4.48.3
|
6 |
openai>=1.61.0
|
|
|
1 |
accelerate>=1.3.0
|
2 |
sentencepiece>=0.2.0
|
3 |
+
git+https://github.com/huggingface/diffusers.git
|
4 |
gradio>=5.15.0
|
5 |
transformers>=4.48.3
|
6 |
openai>=1.61.0
|