Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -509,7 +509,7 @@ def toggle_resolution(checkbox):
|
|
509 |
# Custom CSS
|
510 |
custom_css = """
|
511 |
body {
|
512 |
-
background: #
|
513 |
font-family: sans-serif;
|
514 |
color: #e0e0e0;
|
515 |
}
|
@@ -517,12 +517,12 @@ body {
|
|
517 |
width: 100%;
|
518 |
max-width: 100%;
|
519 |
margin: 20px auto;
|
520 |
-
background: rgba(30,
|
521 |
border-radius: 12px;
|
522 |
padding: 30px;
|
523 |
-
box-shadow: 0 4px 12px rgba(
|
524 |
}
|
525 |
-
|
526 |
color: #ff3f81;
|
527 |
text-align: center;
|
528 |
font-size: 2.5rem;
|
@@ -533,16 +533,15 @@ gradio {
|
|
533 |
color: white;
|
534 |
border-radius: 8px;
|
535 |
padding: 12px 20px;
|
536 |
-
font-size:
|
537 |
border: none;
|
538 |
cursor: pointer;
|
539 |
-
margin:
|
540 |
}
|
541 |
.gr-button:hover {
|
542 |
-
background: #
|
543 |
}
|
544 |
-
.output-textbox {
|
545 |
-
.gr-input, .gr-textbox, .gr-dropdown, .gr-checkbox {
|
546 |
background: #3a3a5a;
|
547 |
color: #e0e0e0;
|
548 |
border-radius: 8px;
|
@@ -554,8 +553,7 @@ gradio {
|
|
554 |
gap: 20px;
|
555 |
margin-bottom: 20px;
|
556 |
}
|
557 |
-
.video-preview {
|
558 |
-
.image-preview {
|
559 |
border-radius: 8px;
|
560 |
border: 2px solid #ff3f81;
|
561 |
max-height: 500px;
|
@@ -570,8 +568,6 @@ gradio {
|
|
570 |
h1 {
|
571 |
font-size: 2rem;
|
572 |
}
|
573 |
-
color: #ff0;
|
574 |
-
;
|
575 |
.gr-row {
|
576 |
flex-direction: column;
|
577 |
gap: 15px;
|
|
|
509 |
# Custom CSS
|
510 |
custom_css = """
|
511 |
body {
|
512 |
+
background: linear-gradient(135deg, #1e1e2f, #2a2a4a);
|
513 |
font-family: sans-serif;
|
514 |
color: #e0e0e0;
|
515 |
}
|
|
|
517 |
width: 100%;
|
518 |
max-width: 100%;
|
519 |
margin: 20px auto;
|
520 |
+
background: rgba(30, 30, 47, 0.95);
|
521 |
border-radius: 12px;
|
522 |
padding: 30px;
|
523 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
|
524 |
}
|
525 |
+
h1 {
|
526 |
color: #ff3f81;
|
527 |
text-align: center;
|
528 |
font-size: 2.5rem;
|
|
|
533 |
color: white;
|
534 |
border-radius: 8px;
|
535 |
padding: 12px 20px;
|
536 |
+
font-size: 14px;
|
537 |
border: none;
|
538 |
cursor: pointer;
|
539 |
+
margin: 5px 0;
|
540 |
}
|
541 |
.gr-button:hover {
|
542 |
+
background: #c55;
|
543 |
}
|
544 |
+
.output-textbox, .gr-input, .gr-textbox, .gr-dropdown {
|
|
|
545 |
background: #3a3a5a;
|
546 |
color: #e0e0e0;
|
547 |
border-radius: 8px;
|
|
|
553 |
gap: 20px;
|
554 |
margin-bottom: 20px;
|
555 |
}
|
556 |
+
.video-preview, .image-preview {
|
|
|
557 |
border-radius: 8px;
|
558 |
border: 2px solid #ff3f81;
|
559 |
max-height: 500px;
|
|
|
568 |
h1 {
|
569 |
font-size: 2rem;
|
570 |
}
|
|
|
|
|
571 |
.gr-row {
|
572 |
flex-direction: column;
|
573 |
gap: 15px;
|