Sebastiankay commited on
Commit
94ab1c6
·
1 Parent(s): 9fc1239

8. Sept. 2024, 06:23

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -25,18 +25,18 @@ RES = os.path.join(os.path.dirname(__file__), "_res")
25
 
26
  gr.set_static_paths(paths=["_res/assets/", "_res/assets/emojis/", "_res/assets/favicons/"])
27
 
28
- fontawesome_css = RES + "/fontawesome.all.min.css"
29
- catppuccin_css = RES + "/bootstrap-catppuccin-mocha.min.css"
30
  custom_css = RES + "/_custom.css"
31
  custom_js = RES + "/_custom.js"
32
 
33
  custom_head = f"""
34
  <link rel="stylesheet" href="{fontawesome_css}">
35
  <link rel="stylesheet" href="{catppuccin_css}">
36
- <link rel="apple-touch-icon" sizes="180x180" href="_res/assets/favicons/apple-touch-icon.png">
37
- <link rel="icon" type="image/png" sizes="32x32" href="_res/assets/favicons/favicon-32x32.png">
38
- <link rel="icon" type="image/png" sizes="16x16" href="_res/assets/favicons/favicon-16x16.png">
39
- <link rel="manifest" href="_res/assets/favicons/site.webmanifest">
40
  """
41
 
42
  theme = gr.themes.Soft(
 
25
 
26
  gr.set_static_paths(paths=["_res/assets/", "_res/assets/emojis/", "_res/assets/favicons/"])
27
 
28
+ fontawesome_css = "file=_res/assets/fontawesome.all.min.css"
29
+ catppuccin_css = "file=_res/assets/bootstrap-catppuccin-mocha.min.css"
30
  custom_css = RES + "/_custom.css"
31
  custom_js = RES + "/_custom.js"
32
 
33
  custom_head = f"""
34
  <link rel="stylesheet" href="{fontawesome_css}">
35
  <link rel="stylesheet" href="{catppuccin_css}">
36
+ <link rel="apple-touch-icon" sizes="180x180" href="file_res/assets/favicons/apple-touch-icon.png">
37
+ <link rel="icon" type="image/png" sizes="32x32" href="file_res/assets/favicons/favicon-32x32.png">
38
+ <link rel="icon" type="image/png" sizes="16x16" href="file_res/assets/favicons/favicon-16x16.png">
39
+ <link rel="manifest" href="file_res/assets/favicons/site.webmanifest">
40
  """
41
 
42
  theme = gr.themes.Soft(