Spaces:
Running
Running
Allen Park
commited on
Commit
·
5b6505c
1
Parent(s):
f575d58
add css code to change font family to plus jakarta sans
Browse files
app.py
CHANGED
@@ -40,6 +40,14 @@ Your output should be in JSON FORMAT with the keys "REASONING" and "SCORE":
|
|
40 |
{{"REASONING": <your reasoning as bullet points>, "SCORE": <your final score>}}
|
41 |
"""
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
HEADER = """
|
44 |
# Patronus Lynx Demo
|
45 |
<table bgcolor="#1E2432" cellspacing="0" cellpadding="0" width="450">
|
@@ -140,7 +148,7 @@ def download_file():
|
|
140 |
# gr.Textbox(label="Score")
|
141 |
# ]
|
142 |
|
143 |
-
with gr.Blocks() as demo:
|
144 |
base_url_state = gr.State(update_client_base_url("Patronus Lynx 8B v1.1"))
|
145 |
gr.Markdown(HEADER)
|
146 |
# gr.Interface(fn=model_call, inputs=inputs, outputs=outputs)
|
|
|
40 |
{{"REASONING": <your reasoning as bullet points>, "SCORE": <your final score>}}
|
41 |
"""
|
42 |
|
43 |
+
css = """
|
44 |
+
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;700&display=swap');
|
45 |
+
|
46 |
+
body, .gradio-container {
|
47 |
+
font-family: 'Plus Jakarta Sans', sans-serif !important;
|
48 |
+
}
|
49 |
+
"""
|
50 |
+
|
51 |
HEADER = """
|
52 |
# Patronus Lynx Demo
|
53 |
<table bgcolor="#1E2432" cellspacing="0" cellpadding="0" width="450">
|
|
|
148 |
# gr.Textbox(label="Score")
|
149 |
# ]
|
150 |
|
151 |
+
with gr.Blocks(css=css) as demo:
|
152 |
base_url_state = gr.State(update_client_base_url("Patronus Lynx 8B v1.1"))
|
153 |
gr.Markdown(HEADER)
|
154 |
# gr.Interface(fn=model_call, inputs=inputs, outputs=outputs)
|