Update app.py from anycoder
Browse files
app.py
CHANGED
|
@@ -192,7 +192,6 @@ custom_theme = gr.themes.Soft(
|
|
| 192 |
block_title_text_weight="600",
|
| 193 |
block_title_text_color="*primary_600",
|
| 194 |
input_background_fill="*neutral_100",
|
| 195 |
-
input_border_color="*neutral_300",
|
| 196 |
)
|
| 197 |
|
| 198 |
with gr.Blocks(fill_height=True) as demo:
|
|
@@ -290,8 +289,7 @@ with gr.Blocks(fill_height=True) as demo:
|
|
| 290 |
generate_btn = gr.Button(
|
| 291 |
"Generate Image",
|
| 292 |
variant="primary",
|
| 293 |
-
size="lg"
|
| 294 |
-
full_width=True
|
| 295 |
)
|
| 296 |
|
| 297 |
clear_btn = gr.Button(
|
|
@@ -461,6 +459,10 @@ demo.launch(
|
|
| 461 |
#input-image:hover, #output-image:hover {
|
| 462 |
border-color: var(--primary-400);
|
| 463 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 464 |
""",
|
| 465 |
footer_links=[
|
| 466 |
{"label": "Built with anycoder", "url": "https://huggingface.co/spaces/akhaliq/anycoder"},
|
|
|
|
| 192 |
block_title_text_weight="600",
|
| 193 |
block_title_text_color="*primary_600",
|
| 194 |
input_background_fill="*neutral_100",
|
|
|
|
| 195 |
)
|
| 196 |
|
| 197 |
with gr.Blocks(fill_height=True) as demo:
|
|
|
|
| 289 |
generate_btn = gr.Button(
|
| 290 |
"Generate Image",
|
| 291 |
variant="primary",
|
| 292 |
+
size="lg"
|
|
|
|
| 293 |
)
|
| 294 |
|
| 295 |
clear_btn = gr.Button(
|
|
|
|
| 459 |
#input-image:hover, #output-image:hover {
|
| 460 |
border-color: var(--primary-400);
|
| 461 |
}
|
| 462 |
+
/* Make the generate button full width */
|
| 463 |
+
button#generate-btn {
|
| 464 |
+
width: 100% !important;
|
| 465 |
+
}
|
| 466 |
""",
|
| 467 |
footer_links=[
|
| 468 |
{"label": "Built with anycoder", "url": "https://huggingface.co/spaces/akhaliq/anycoder"},
|