Spaces:
Sleeping
Sleeping
Update Home_page.py
Browse files- Home_page.py +22 -0
Home_page.py
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
# Configure Streamlit Page
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
light_theme_css = """
|
| 4 |
+
<style>
|
| 5 |
+
body {
|
| 6 |
+
background-color: #ffffff;
|
| 7 |
+
color: #000000;
|
| 8 |
+
}
|
| 9 |
+
.gradio-container {
|
| 10 |
+
background-color: #ffffff;
|
| 11 |
+
color: #000000;
|
| 12 |
+
}
|
| 13 |
+
</style>
|
| 14 |
+
"""
|
| 15 |
+
|
| 16 |
+
with gr.Blocks() as demo:
|
| 17 |
+
gr.HTML(light_theme_css) # Inject the CSS to enforce a light theme
|
| 18 |
+
gr.Textbox(label="Enter something")
|
| 19 |
+
|
| 20 |
+
demo.launch()
|
| 21 |
+
|
| 22 |
+
|
| 23 |
import streamlit as st
|
| 24 |
|
| 25 |
# Configure Streamlit Page
|