Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,22 +86,43 @@ def generate(
|
|
86 |
print(image_paths)
|
87 |
return image_paths, seed
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
examples = [
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
]
|
97 |
|
|
|
98 |
css = '''
|
99 |
-
.gradio-container{max-width:
|
100 |
h1{text-align:center}
|
101 |
footer {
|
102 |
-
|
103 |
}
|
104 |
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
with gr.Blocks(css=css, theme="pseudolab/huggingface-korea-theme") as demo:
|
106 |
gr.Markdown(DESCRIPTION)
|
107 |
gr.DuplicateButton(
|
|
|
86 |
print(image_paths)
|
87 |
return image_paths, seed
|
88 |
|
89 |
+
#examples = [
|
90 |
+
# "neon holography crystal cat",
|
91 |
+
# "a cat eating a piece of cheese",
|
92 |
+
# "an astronaut riding a horse in space",
|
93 |
+
# "a cartoon of a boy playing with a tiger",
|
94 |
+
# "a cute robot artist painting on an easel, concept art",
|
95 |
+
# "a close up of a woman wearing a transparent, prismatic, elaborate nemeses headdress, over the should pose, brown skin-tone"
|
96 |
+
#]
|
97 |
+
|
98 |
examples = [
|
99 |
+
"a modern hospital room with advanced medical equipment and a patient resting comfortably",
|
100 |
+
"a team of surgeons performing a delicate operation using state-of-the-art surgical robots",
|
101 |
+
"a elderly woman smiling while a nurse checks her vital signs using a holographic display",
|
102 |
+
"a child receiving a painless vaccination from a friendly robot nurse in a colorful pediatric clinic",
|
103 |
+
"a group of researchers working in a high-tech laboratory, developing new treatments for rare diseases",
|
104 |
+
"a telemedicine consultation between a doctor and a patient, using virtual reality technology for a immersive experience"
|
105 |
]
|
106 |
|
107 |
+
|
108 |
css = '''
|
109 |
+
.gradio-container{max-width: 1024px !important}
|
110 |
h1{text-align:center}
|
111 |
footer {
|
112 |
+
visibility: hidden
|
113 |
}
|
114 |
'''
|
115 |
+
|
116 |
+
|
117 |
+
#css = '''
|
118 |
+
#.gradio-container{max-width: 560px !important}
|
119 |
+
#h1{text-align:center}
|
120 |
+
#footer {
|
121 |
+
# visibility: hidden
|
122 |
+
#}
|
123 |
+
#'''
|
124 |
+
|
125 |
+
|
126 |
with gr.Blocks(css=css, theme="pseudolab/huggingface-korea-theme") as demo:
|
127 |
gr.Markdown(DESCRIPTION)
|
128 |
gr.DuplicateButton(
|