Allen Park commited on
Commit
21d1782
β€’
1 Parent(s): 2e380b0

change readme to say LynxDemo & change Markdown to HTML to check everything works

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -2
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Gradiodemo
3
  emoji: πŸ‘€
4
  colorFrom: indigo
5
  colorTo: blue
 
1
  ---
2
+ title: LynxDemo
3
  emoji: πŸ‘€
4
  colorFrom: indigo
5
  colorTo: blue
app.py CHANGED
@@ -82,7 +82,6 @@ with open('logo.svg', 'r') as file:
82
  logo_svg = file.read()
83
 
84
  HEADER = f"""
85
- # Patronus Lynx Demo
86
  <table bgcolor="#1E2432" cellspacing="0" cellpadding="0" width="450">
87
  <tr>
88
  <td style="text-align: center;">
@@ -258,7 +257,7 @@ def select_template(template):
258
 
259
  with gr.Blocks(css=css, theme=gr.themes.Default(spacing_size="sm", font=[gr.themes.GoogleFont("Plus Jakarta Sans"), "Arial", "sans-serif"], primary_hue="indigo", secondary_hue="purple")) as demo:
260
  base_url_state = gr.State(update_client_base_url("Patronus Lynx 8B v1.1"))
261
- gr.Markdown(HEADER)
262
  model_dropdown = gr.Dropdown(choices=["Patronus Lynx 8B v1.1", "Patronus Lynx 70B"], value="Patronus Lynx 8B v1.1", label="Model", interactive=True)
263
  with gr.Row(equal_height=True):
264
  with gr.Column(scale=1):
 
82
  logo_svg = file.read()
83
 
84
  HEADER = f"""
 
85
  <table bgcolor="#1E2432" cellspacing="0" cellpadding="0" width="450">
86
  <tr>
87
  <td style="text-align: center;">
 
257
 
258
  with gr.Blocks(css=css, theme=gr.themes.Default(spacing_size="sm", font=[gr.themes.GoogleFont("Plus Jakarta Sans"), "Arial", "sans-serif"], primary_hue="indigo", secondary_hue="purple")) as demo:
259
  base_url_state = gr.State(update_client_base_url("Patronus Lynx 8B v1.1"))
260
+ gr.HTML(HEADER)
261
  model_dropdown = gr.Dropdown(choices=["Patronus Lynx 8B v1.1", "Patronus Lynx 70B"], value="Patronus Lynx 8B v1.1", label="Model", interactive=True)
262
  with gr.Row(equal_height=True):
263
  with gr.Column(scale=1):