Spaces:
Runtime error
Runtime error
Allen Park
commited on
Commit
·
daf0054
1
Parent(s):
16619b0
chore(update styiling to have default theme and font through gr.themes rather than imported cs)
Browse files
app.py
CHANGED
|
@@ -203,7 +203,7 @@ def select_template(template):
|
|
| 203 |
# def download_file():
|
| 204 |
# return [gr.UploadButton(visible=True), gr.DownloadButton(visible=False)]
|
| 205 |
|
| 206 |
-
with gr.Blocks(
|
| 207 |
base_url_state = gr.State(update_client_base_url("Patronus Lynx 8B v1.1"))
|
| 208 |
gr.Markdown(HEADER)
|
| 209 |
model_dropdown = gr.Dropdown(choices=["Patronus Lynx 8B v1.1", "Patronus Lynx 70B"], value="Patronus Lynx 8B v1.1", label="Model", interactive=True)
|
|
|
|
| 203 |
# def download_file():
|
| 204 |
# return [gr.UploadButton(visible=True), gr.DownloadButton(visible=False)]
|
| 205 |
|
| 206 |
+
with gr.Blocks(theme=gr.themes.Default(font=[gr.themes.GoogleFont("Plus Jakarta Sans"), "Arial", "sans-serif"], primary_hue="indigo", secondary_hue="purple")) as demo:
|
| 207 |
base_url_state = gr.State(update_client_base_url("Patronus Lynx 8B v1.1"))
|
| 208 |
gr.Markdown(HEADER)
|
| 209 |
model_dropdown = gr.Dropdown(choices=["Patronus Lynx 8B v1.1", "Patronus Lynx 70B"], value="Patronus Lynx 8B v1.1", label="Model", interactive=True)
|