Spaces:
Running
on
Zero
Running
on
Zero
prithivMLmods
commited on
Commit
•
1a9b549
1
Parent(s):
e01c5a4
Update app.py
Browse files
app.py
CHANGED
@@ -17,19 +17,11 @@ footer {
|
|
17 |
}
|
18 |
'''
|
19 |
|
20 |
-
css += """
|
21 |
-
input[type="text"]::placeholder {
|
22 |
-
color: black !important;
|
23 |
-
}
|
24 |
-
"""
|
25 |
-
|
26 |
-
|
27 |
DESCRIPTIONXX = """
|
28 |
|
29 |
-
## TEXT 2
|
30 |
|
31 |
"""
|
32 |
-
|
33 |
examples = [
|
34 |
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
|
35 |
"Chocolate dripping from a donut against a yellow background, 8k",
|
@@ -147,7 +139,7 @@ def load_predefined_images():
|
|
147 |
]
|
148 |
return predefined_images
|
149 |
|
150 |
-
with gr.Blocks(css=css, theme="
|
151 |
gr.Markdown(DESCRIPTIONXX)
|
152 |
with gr.Row():
|
153 |
prompt = gr.Text(
|
@@ -270,4 +262,4 @@ with gr.Blocks(css=css, theme="allenai/gradio-theme") as demo:
|
|
270 |
predefined_gallery = gr.Gallery(label="Image Gallery", columns=3, show_label=False, value=load_predefined_images())
|
271 |
|
272 |
if __name__ == "__main__":
|
273 |
-
demo.queue(max_size=20).launch(show_api=False)
|
|
|
17 |
}
|
18 |
'''
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
DESCRIPTIONXX = """
|
21 |
|
22 |
+
## TEXT 2 IMAGE🥠
|
23 |
|
24 |
"""
|
|
|
25 |
examples = [
|
26 |
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
|
27 |
"Chocolate dripping from a donut against a yellow background, 8k",
|
|
|
139 |
]
|
140 |
return predefined_images
|
141 |
|
142 |
+
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
143 |
gr.Markdown(DESCRIPTIONXX)
|
144 |
with gr.Row():
|
145 |
prompt = gr.Text(
|
|
|
262 |
predefined_gallery = gr.Gallery(label="Image Gallery", columns=3, show_label=False, value=load_predefined_images())
|
263 |
|
264 |
if __name__ == "__main__":
|
265 |
+
demo.queue(max_size=20).launch(show_api=False)
|