Spaces:
Sleeping
Sleeping
updated display params
Browse files
app.py
CHANGED
@@ -61,26 +61,27 @@ def view_model(selected_models):
|
|
61 |
|
62 |
custom_css = """
|
63 |
#run_button {
|
64 |
-
background-color: purple;
|
65 |
-
color: white;
|
66 |
-
width: 120px;
|
67 |
-
border-radius: 5px;
|
68 |
-
font-size: 14px;
|
69 |
}
|
70 |
.custom-row {
|
71 |
-
margin: 0 !important;
|
72 |
-
padding: 0 !important;
|
73 |
-
height: fit-content !important;
|
74 |
-
display: flex;
|
75 |
-
justify-content: center;
|
76 |
}
|
77 |
.highlighted-text {
|
78 |
-
color: blue;
|
79 |
-
font-size: 32px;
|
80 |
-
font-weight: bold;
|
81 |
}
|
82 |
"""
|
83 |
|
|
|
84 |
|
85 |
with gr.Blocks(css=custom_css) as interface:
|
86 |
gr.Markdown("""
|
|
|
61 |
|
62 |
custom_css = """
|
63 |
#run_button {
|
64 |
+
background-color: purple !important;
|
65 |
+
color: white !important;
|
66 |
+
width: 120px !important;
|
67 |
+
border-radius: 5px !important;
|
68 |
+
font-size: 14px !important;
|
69 |
}
|
70 |
.custom-row {
|
71 |
+
margin: 0 !important;
|
72 |
+
padding: 0 !important;
|
73 |
+
height: fit-content !important;
|
74 |
+
display: flex !important;
|
75 |
+
justify-content: center !important;
|
76 |
}
|
77 |
.highlighted-text {
|
78 |
+
color: blue !important;
|
79 |
+
font-size: 32px !important;
|
80 |
+
font-weight: bold !important;
|
81 |
}
|
82 |
"""
|
83 |
|
84 |
+
# Then in the Gradio interface:
|
85 |
|
86 |
with gr.Blocks(css=custom_css) as interface:
|
87 |
gr.Markdown("""
|