Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -55,11 +55,24 @@ input[type="text"] {
|
|
55 |
color: #007bff;
|
56 |
text-decoration: underline;
|
57 |
}
|
58 |
-
"""
|
59 |
|
60 |
-
|
61 |
-
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
# Gradio Interface with updated UI elements and custom CSS
|
65 |
interface = gr.Interface(
|
@@ -72,7 +85,6 @@ interface = gr.Interface(
|
|
72 |
examples=examples,
|
73 |
css=custom_css, # Apply custom CSS
|
74 |
description="Enter a creative prompt or choose an example to generate your AI-powered image. Model performance may vary due to CPU usage.",
|
75 |
-
live=True
|
76 |
)
|
77 |
|
78 |
interface.launch()
|
|
|
55 |
color: #007bff;
|
56 |
text-decoration: underline;
|
57 |
}
|
|
|
58 |
|
59 |
+
/* Styling for the generate button */
|
60 |
+
button {
|
61 |
+
border-radius: 50px;
|
62 |
+
background: linear-gradient(90deg, #ff8a00, #e52e71);
|
63 |
+
color: white;
|
64 |
+
font-weight: bold;
|
65 |
+
padding: 10px 20px;
|
66 |
+
border: none;
|
67 |
+
cursor: pointer;
|
68 |
+
font-size: 16px;
|
69 |
+
margin-top: 10px;
|
70 |
+
}
|
71 |
+
|
72 |
+
button:hover {
|
73 |
+
background: linear-gradient(90deg, #e52e71, #ff8a00);
|
74 |
+
}
|
75 |
+
"""
|
76 |
|
77 |
# Gradio Interface with updated UI elements and custom CSS
|
78 |
interface = gr.Interface(
|
|
|
85 |
examples=examples,
|
86 |
css=custom_css, # Apply custom CSS
|
87 |
description="Enter a creative prompt or choose an example to generate your AI-powered image. Model performance may vary due to CPU usage.",
|
|
|
88 |
)
|
89 |
|
90 |
interface.launch()
|