Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -66,8 +66,9 @@ class CustomTheme(gr.themes.Base):
|
|
66 |
self.input_background_fill = "#17181B" # Set input background color
|
67 |
self.input_text_color = "#AEB3B8" # Set input text color
|
68 |
|
69 |
-
# Custom CSS to hide the footer
|
70 |
css = """
|
|
|
71 |
footer {
|
72 |
visibility: hidden;
|
73 |
height: 0;
|
@@ -75,6 +76,14 @@ footer {
|
|
75 |
padding: 0;
|
76 |
overflow: hidden;
|
77 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
"""
|
79 |
|
80 |
with gr.Blocks(theme=CustomTheme(), css=css) as demo:
|
|
|
66 |
self.input_background_fill = "#17181B" # Set input background color
|
67 |
self.input_text_color = "#AEB3B8" # Set input text color
|
68 |
|
69 |
+
# Custom CSS to hide the footer and set fonts
|
70 |
css = """
|
71 |
+
/* Hide the footer */
|
72 |
footer {
|
73 |
visibility: hidden;
|
74 |
height: 0;
|
|
|
76 |
padding: 0;
|
77 |
overflow: hidden;
|
78 |
}
|
79 |
+
|
80 |
+
/* Import custom font */
|
81 |
+
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
|
82 |
+
|
83 |
+
/* Apply the font to the body and inputs */
|
84 |
+
body, input, button, textarea, select, .gr-button {
|
85 |
+
font-family: 'Roboto', sans-serif;
|
86 |
+
}
|
87 |
"""
|
88 |
|
89 |
with gr.Blocks(theme=CustomTheme(), css=css) as demo:
|