Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -45,15 +45,14 @@ with gr.Blocks(
|
|
45 |
format="jpeg",
|
46 |
interactive=False
|
47 |
)
|
48 |
-
with gr.
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
btn = gr.Button("Generate", variant="primary")
|
57 |
|
58 |
with gr.Tab("π‘ Examples"):
|
59 |
examples = gr.Examples(
|
@@ -102,7 +101,7 @@ with gr.Blocks(
|
|
102 |
with gr.Accordion("βΉοΈ About", open=False):
|
103 |
gr.Markdown(f"""
|
104 |
* Created by [π cherry-ghosts community](https://hf.co/cherry-ghosts)
|
105 |
-
* Powered by [π Pollinations](https://pollinations.ai) | [GitHub](https://github.com/pollinations/pollinations)
|
106 |
* Running on [Gradio](https://www.gradio.app) v{gr.__version__}
|
107 |
""")
|
108 |
|
|
|
45 |
format="jpeg",
|
46 |
interactive=False
|
47 |
)
|
48 |
+
with gr.Row(equal_height=True):
|
49 |
+
prompt = gr.Textbox(
|
50 |
+
label="Prompt",
|
51 |
+
show_label=False,
|
52 |
+
placeholder="Enter your prompt..",
|
53 |
+
max_lines=1
|
54 |
+
)
|
55 |
+
btn = gr.Button("Generate", variant="primary")
|
|
|
56 |
|
57 |
with gr.Tab("π‘ Examples"):
|
58 |
examples = gr.Examples(
|
|
|
101 |
with gr.Accordion("βΉοΈ About", open=False):
|
102 |
gr.Markdown(f"""
|
103 |
* Created by [π cherry-ghosts community](https://hf.co/cherry-ghosts)
|
104 |
+
* Powered by [π Pollinations.ai](https://pollinations.ai) | [GitHub](https://github.com/pollinations/pollinations)
|
105 |
* Running on [Gradio](https://www.gradio.app) v{gr.__version__}
|
106 |
""")
|
107 |
|