arahman347 commited on
Commit
a0b0276
·
verified ·
1 Parent(s): c0e72e6

changed font

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -61,11 +61,17 @@ def respond(message, history):
61
  token = message.choices[0].delta.content # capture the most recent toke
62
  response += token # Add it to the response
63
  yield response # yield the response:
 
64
  custom_theme = gr.themes.Soft(
65
  primary_hue="purple",
66
  secondary_hue="pink",
67
  neutral_hue="pink",
 
 
 
 
68
  )
 
69
  css = """
70
  body {
71
  background-color: #C13B6F !important; /* A more vibrant and dark pink */
 
61
  token = message.choices[0].delta.content # capture the most recent toke
62
  response += token # Add it to the response
63
  yield response # yield the response:
64
+
65
  custom_theme = gr.themes.Soft(
66
  primary_hue="purple",
67
  secondary_hue="pink",
68
  neutral_hue="pink",
69
+ font=[gr.themes.GoogleFont("Times New Roman"), "sans-serif"],
70
+ font_mono=[gr.themes.GoogleFont("Times New Roman"), "monospace"]
71
+ ).set(
72
+ font_size="lg" # Options: xs, sm, md, lg, xl, 2xl, etc.
73
  )
74
+
75
  css = """
76
  body {
77
  background-color: #C13B6F !important; /* A more vibrant and dark pink */