Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,15 @@ import time
|
|
| 6 |
import re
|
| 7 |
import json
|
| 8 |
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# user_id_state = gr.State([user_id])
|
| 11 |
|
| 12 |
with gr.Tab("ClimateQ&A"):
|
|
|
|
| 6 |
import re
|
| 7 |
import json
|
| 8 |
|
| 9 |
+
# Set up Gradio Theme
|
| 10 |
+
theme = gr.themes.Base(
|
| 11 |
+
primary_hue="blue",
|
| 12 |
+
secondary_hue="red",
|
| 13 |
+
font=[gr.themes.GoogleFont("Poppins"), "ui-sans-serif", "system-ui", "sans-serif"],
|
| 14 |
+
)
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
with gr.Blocks(title="Audit Q&A", css="style.css", theme=theme,elem_id = "main-component") as demo:
|
| 18 |
# user_id_state = gr.State([user_id])
|
| 19 |
|
| 20 |
with gr.Tab("ClimateQ&A"):
|