Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -93,6 +93,37 @@ def query(prompt, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Ka
|
|
93 |
return None, None, None
|
94 |
|
95 |
css = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
#app-container {
|
97 |
max-width: 600px;
|
98 |
margin-left: auto;
|
|
|
93 |
return None, None, None
|
94 |
|
95 |
css = """
|
96 |
+
body {
|
97 |
+
background-image: url('icon.png');
|
98 |
+
background-size: cover;
|
99 |
+
background-repeat: no-repeat;
|
100 |
+
background-attachment: fixed;
|
101 |
+
}
|
102 |
+
#app-container {
|
103 |
+
max-width: 600px;
|
104 |
+
margin-left: auto;
|
105 |
+
margin-right: auto;
|
106 |
+
background-color: rgba(255, 255, 255, 0.8); /* semi-transparent white */
|
107 |
+
padding: 20px;
|
108 |
+
border-radius: 10px;
|
109 |
+
}
|
110 |
+
#title-container {
|
111 |
+
display: flex;
|
112 |
+
align-items: center;
|
113 |
+
justify-content: center;
|
114 |
+
}
|
115 |
+
#title-icon {
|
116 |
+
width: 32px;
|
117 |
+
height: auto;
|
118 |
+
margin-right: 10px;
|
119 |
+
}
|
120 |
+
#title-text {
|
121 |
+
font-size: 24px;
|
122 |
+
font-weight: bold;
|
123 |
+
}
|
124 |
+
"""
|
125 |
+
|
126 |
+
css1 = """
|
127 |
#app-container {
|
128 |
max-width: 600px;
|
129 |
margin-left: auto;
|