Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -724,6 +724,105 @@ footer { display: none !important; }
|
|
| 724 |
text-decoration: none;
|
| 725 |
}
|
| 726 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 727 |
/* Responsive */
|
| 728 |
@media (max-width: 640px) {
|
| 729 |
.howto { flex-direction: column; gap: 8px; }
|
|
|
|
| 724 |
text-decoration: none;
|
| 725 |
}
|
| 726 |
|
| 727 |
+
/* ===== FIX: Dropdown text visibility ===== */
|
| 728 |
+
/* Selected value text */
|
| 729 |
+
.gr-dropdown .wrap .wrap-inner .secondary-wrap,
|
| 730 |
+
.gr-dropdown .wrap .wrap-inner .secondary-wrap span,
|
| 731 |
+
.gr-dropdown .wrap .wrap-inner input,
|
| 732 |
+
.gr-dropdown input,
|
| 733 |
+
.dropdown .wrap span,
|
| 734 |
+
.dropdown input[type="text"],
|
| 735 |
+
div[data-testid="dropdown"] span,
|
| 736 |
+
div[data-testid="dropdown"] input {
|
| 737 |
+
color: #e8e8ed !important;
|
| 738 |
+
}
|
| 739 |
+
|
| 740 |
+
/* Dropdown options list */
|
| 741 |
+
.gr-dropdown ul[role="listbox"],
|
| 742 |
+
.gr-dropdown .options,
|
| 743 |
+
.dropdown ul, .dropdown li,
|
| 744 |
+
ul[role="listbox"],
|
| 745 |
+
li[role="option"],
|
| 746 |
+
div[role="option"] {
|
| 747 |
+
color: #e8e8ed !important;
|
| 748 |
+
background-color: #1a1a1f !important;
|
| 749 |
+
}
|
| 750 |
+
li[role="option"]:hover,
|
| 751 |
+
div[role="option"]:hover,
|
| 752 |
+
li[role="option"].selected,
|
| 753 |
+
li[role="option"][aria-selected="true"] {
|
| 754 |
+
background-color: rgba(99,102,241,.2) !important;
|
| 755 |
+
color: #c7c7ff !important;
|
| 756 |
+
}
|
| 757 |
+
|
| 758 |
+
/* Dropdown container border */
|
| 759 |
+
.gr-dropdown .wrap, .dropdown .wrap {
|
| 760 |
+
background: #222228 !important;
|
| 761 |
+
border-color: #333340 !important;
|
| 762 |
+
}
|
| 763 |
+
|
| 764 |
+
/* Dropdown info text */
|
| 765 |
+
.gr-dropdown .info-text, .dropdown .info-text,
|
| 766 |
+
span[data-testid="info-text"] {
|
| 767 |
+
color: #8888a0 !important;
|
| 768 |
+
}
|
| 769 |
+
|
| 770 |
+
/* ===== FIX: Upload progress visibility ===== */
|
| 771 |
+
/* Gradio upload progress bar */
|
| 772 |
+
.upload-container .progress-bar,
|
| 773 |
+
.uploading .progress-bar,
|
| 774 |
+
.file-upload .progress-bar {
|
| 775 |
+
background: #333340 !important;
|
| 776 |
+
border-radius: 6px !important;
|
| 777 |
+
overflow: hidden !important;
|
| 778 |
+
}
|
| 779 |
+
.upload-container .progress-bar .progress,
|
| 780 |
+
.uploading .progress-bar .progress,
|
| 781 |
+
.file-upload .progress-bar .progress {
|
| 782 |
+
background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
|
| 783 |
+
}
|
| 784 |
+
|
| 785 |
+
/* Upload progress text */
|
| 786 |
+
.upload-container .progress-text,
|
| 787 |
+
.uploading .progress-text,
|
| 788 |
+
.file-upload-text,
|
| 789 |
+
.upload-text,
|
| 790 |
+
.eta-bar {
|
| 791 |
+
color: #e8e8ed !important;
|
| 792 |
+
font-weight: 600 !important;
|
| 793 |
+
}
|
| 794 |
+
|
| 795 |
+
/* Gradio's built-in ETA bar */
|
| 796 |
+
.eta-bar {
|
| 797 |
+
background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
|
| 798 |
+
opacity: 0.3 !important;
|
| 799 |
+
}
|
| 800 |
+
|
| 801 |
+
/* Progress level / status text */
|
| 802 |
+
.progress-level, .progress-level span,
|
| 803 |
+
.progress-level .progress-level-inner {
|
| 804 |
+
color: #e8e8ed !important;
|
| 805 |
+
font-size: 13px !important;
|
| 806 |
+
}
|
| 807 |
+
|
| 808 |
+
/* Upload button area */
|
| 809 |
+
.upload-button, .upload-button span {
|
| 810 |
+
color: #e8e8ed !important;
|
| 811 |
+
border-color: #6366f1 !important;
|
| 812 |
+
}
|
| 813 |
+
|
| 814 |
+
/* Audio component loading state */
|
| 815 |
+
.audio-upload .uploading,
|
| 816 |
+
.audio-upload .loading {
|
| 817 |
+
color: #e8e8ed !important;
|
| 818 |
+
}
|
| 819 |
+
|
| 820 |
+
/* Spinner / loading indicator */
|
| 821 |
+
.audio-upload .loading svg,
|
| 822 |
+
.audio-upload .spinner {
|
| 823 |
+
color: #818cf8 !important;
|
| 824 |
+
}
|
| 825 |
+
|
| 826 |
/* Responsive */
|
| 827 |
@media (max-width: 640px) {
|
| 828 |
.howto { flex-direction: column; gap: 8px; }
|