Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ button {
|
|
74 |
}
|
75 |
|
76 |
button:hover {
|
77 |
-
background:
|
78 |
}
|
79 |
"""
|
80 |
|
@@ -82,13 +82,13 @@ button:hover {
|
|
82 |
interface = gr.Interface(
|
83 |
fn=generate_image,
|
84 |
inputs=[
|
85 |
-
gr.Textbox(label="Imagine
|
86 |
gr.Slider(minimum=0, maximum=10000, step=1, label="Seed (optional)")
|
87 |
],
|
88 |
outputs=gr.Image(label="Generated Image", type="pil"),
|
89 |
examples=examples,
|
90 |
css=custom_css, # Apply custom CSS
|
91 |
-
description="Enter a creative prompt or choose an example to generate your AI-powered image.
|
92 |
)
|
93 |
|
94 |
interface.launch()
|
|
|
74 |
}
|
75 |
|
76 |
button:hover {
|
77 |
+
background: #fafafa;
|
78 |
}
|
79 |
"""
|
80 |
|
|
|
82 |
interface = gr.Interface(
|
83 |
fn=generate_image,
|
84 |
inputs=[
|
85 |
+
gr.Textbox(label="Imagine Your Dream:", placeholder="Describe the scene...", interactive=True),
|
86 |
gr.Slider(minimum=0, maximum=10000, step=1, label="Seed (optional)")
|
87 |
],
|
88 |
outputs=gr.Image(label="Generated Image", type="pil"),
|
89 |
examples=examples,
|
90 |
css=custom_css, # Apply custom CSS
|
91 |
+
description="Enter a creative prompt or choose an example to generate your AI-powered image.",
|
92 |
)
|
93 |
|
94 |
interface.launch()
|