Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,12 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
# Create Gradio blocks with custom CSS for enhanced UI
|
| 5 |
with gr.Blocks(theme=theme, title="RocketGPT - AI-Powered Chatbot") as demo:
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
# Define Gradio theme
|
| 4 |
+
theme = gr.themes.Soft(
|
| 5 |
+
primary_hue="indigo",
|
| 6 |
+
secondary_hue="emerald",
|
| 7 |
+
neutral_hue="gray",
|
| 8 |
+
font="Rubik" # Make sure "Rubik" is a valid font
|
| 9 |
+
)
|
| 10 |
|
| 11 |
# Create Gradio blocks with custom CSS for enhanced UI
|
| 12 |
with gr.Blocks(theme=theme, title="RocketGPT - AI-Powered Chatbot") as demo:
|