Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -179,6 +179,25 @@ def slowly_reverse(word, progress=gr.Progress()):
|
|
| 179 |
return new_string
|
| 180 |
#demo = gr.Interface(slowly_reverse, gr.Text(), gr.Text())
|
| 181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182 |
with gr.Blocks(css=css) as demo:
|
| 183 |
with gr.Column():
|
| 184 |
input_text = gr.Text("Whatever", interactive = True)
|
|
|
|
| 179 |
return new_string
|
| 180 |
#demo = gr.Interface(slowly_reverse, gr.Text(), gr.Text())
|
| 181 |
|
| 182 |
+
css = '''
|
| 183 |
+
#login {
|
| 184 |
+
width: 100% !important;
|
| 185 |
+
margin: 0 auto;
|
| 186 |
+
}
|
| 187 |
+
#disabled_upload{
|
| 188 |
+
opacity: 0.5;
|
| 189 |
+
pointer-events:none;
|
| 190 |
+
}
|
| 191 |
+
.error-log {
|
| 192 |
+
max-height: 300px;
|
| 193 |
+
overflow-y: auto;
|
| 194 |
+
background-color: #f8d7da;
|
| 195 |
+
padding: 10px;
|
| 196 |
+
border-radius: 5px;
|
| 197 |
+
margin-top: 10px;
|
| 198 |
+
}
|
| 199 |
+
'''
|
| 200 |
+
|
| 201 |
with gr.Blocks(css=css) as demo:
|
| 202 |
with gr.Column():
|
| 203 |
input_text = gr.Text("Whatever", interactive = True)
|