Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -758,7 +758,38 @@ def process_video(video, resize_option, param1, param2, param3, param4, param5):
|
|
| 758 |
# Create and launch the Gradio interface with parameter controls
|
| 759 |
print("Launching Standardized Patient Assessment Tool...")
|
| 760 |
|
| 761 |
-
with gr.Blocks(title="Standardized Patient Assessment Tool"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 762 |
|
| 763 |
gr.Markdown("""
|
| 764 |
# Standardized Patient Encounter Assessment Tool
|
|
|
|
| 758 |
# Create and launch the Gradio interface with parameter controls
|
| 759 |
print("Launching Standardized Patient Assessment Tool...")
|
| 760 |
|
| 761 |
+
with gr.Blocks(title="Standardized Patient Assessment Tool", css="""
|
| 762 |
+
.gradio-slider input[type="range"] {
|
| 763 |
+
background-color: white !important;
|
| 764 |
+
}
|
| 765 |
+
.gradio-slider .wrap {
|
| 766 |
+
background-color: white !important;
|
| 767 |
+
}
|
| 768 |
+
input[type="range"]::-webkit-slider-runnable-track {
|
| 769 |
+
background-color: #e0e0e0 !important;
|
| 770 |
+
}
|
| 771 |
+
input[type="range"]::-webkit-slider-thumb {
|
| 772 |
+
background-color: black !important;
|
| 773 |
+
}
|
| 774 |
+
button.primary {
|
| 775 |
+
background-color: white !important;
|
| 776 |
+
color: black !important;
|
| 777 |
+
border: 1px solid black !important;
|
| 778 |
+
}
|
| 779 |
+
button.primary:hover {
|
| 780 |
+
background-color: #f0f0f0 !important;
|
| 781 |
+
color: black !important;
|
| 782 |
+
}
|
| 783 |
+
.block {
|
| 784 |
+
background-color: white !important;
|
| 785 |
+
}
|
| 786 |
+
.wrap {
|
| 787 |
+
background-color: white !important;
|
| 788 |
+
}
|
| 789 |
+
.input-slider {
|
| 790 |
+
background-color: white !important;
|
| 791 |
+
}
|
| 792 |
+
""") as demo:
|
| 793 |
|
| 794 |
gr.Markdown("""
|
| 795 |
# Standardized Patient Encounter Assessment Tool
|