Spaces:
Running
on
Zero
Running
on
Zero
keshavbhandari
commited on
Commit
•
605947d
1
Parent(s):
261a0f5
Update CSS styling for Duplicate button
Browse files
app.py
CHANGED
@@ -145,6 +145,15 @@ temperature = gr.Slider(minimum=0.9, maximum=1.1, value=1.0, step=0.01, label="T
|
|
145 |
max_length = gr.Number(value=1500, label="Max Length", minimum=500, maximum=2000, step=100)
|
146 |
|
147 |
# CSS styling for the Duplicate button
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
css = '''
|
149 |
#duplicate-button {
|
150 |
margin: auto;
|
@@ -152,6 +161,11 @@ css = '''
|
|
152 |
background: #1565c0;
|
153 |
border-radius: 100vh;
|
154 |
}
|
|
|
|
|
|
|
|
|
|
|
155 |
'''
|
156 |
|
157 |
# Gradio interface
|
|
|
145 |
max_length = gr.Number(value=1500, label="Max Length", minimum=500, maximum=2000, step=100)
|
146 |
|
147 |
# CSS styling for the Duplicate button
|
148 |
+
# css = '''
|
149 |
+
# #duplicate-button {
|
150 |
+
# margin: auto;
|
151 |
+
# color: white;
|
152 |
+
# background: #1565c0;
|
153 |
+
# border-radius: 100vh;
|
154 |
+
# }
|
155 |
+
# '''
|
156 |
+
|
157 |
css = '''
|
158 |
#duplicate-button {
|
159 |
margin: auto;
|
|
|
161 |
background: #1565c0;
|
162 |
border-radius: 100vh;
|
163 |
}
|
164 |
+
|
165 |
+
.container-item {
|
166 |
+
text-align: left !important; /* Force left alignment */
|
167 |
+
margin-left: 10px; /* Optional: Add margin for better readability */
|
168 |
+
}
|
169 |
'''
|
170 |
|
171 |
# Gradio interface
|