Spaces:
Running
Running
Sebastiankay
commited on
Commit
•
0e5c41d
1
Parent(s):
3af8bf2
8. Sept. 2024, 05:46
Browse files- _res/assets/favicons/android-chrome-192x192.png +0 -0
- _res/assets/favicons/android-chrome-512x512.png +0 -0
- _res/assets/favicons/apple-touch-icon.png +0 -0
- _res/assets/favicons/favicon-16x16.png +0 -0
- _res/assets/favicons/favicon-32x32.png +0 -0
- _res/assets/favicons/favicon.ico +0 -0
- _res/assets/favicons/site.webmanifest +1 -0
- app.py +4 -1
_res/assets/favicons/android-chrome-192x192.png
ADDED
_res/assets/favicons/android-chrome-512x512.png
ADDED
_res/assets/favicons/apple-touch-icon.png
ADDED
_res/assets/favicons/favicon-16x16.png
ADDED
_res/assets/favicons/favicon-32x32.png
ADDED
_res/assets/favicons/favicon.ico
ADDED
_res/assets/favicons/site.webmanifest
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
|
app.py
CHANGED
@@ -23,7 +23,7 @@ os.makedirs(IMAGE_DIR)
|
|
23 |
|
24 |
RES = os.path.join(os.path.dirname(__file__), "_res")
|
25 |
|
26 |
-
gr.set_static_paths(paths=["_res/assets/"])
|
27 |
|
28 |
fontawesome_css = RES + "/fontawesome.all.min.css"
|
29 |
catppuccin_css = RES + "/bootstrap-catppuccin-mocha.min.css"
|
@@ -33,6 +33,9 @@ custom_js = RES + "/_custom.js"
|
|
33 |
custom_head = f"""
|
34 |
<link rel="stylesheet" href="{fontawesome_css}">
|
35 |
<link rel="stylesheet" href="{catppuccin_css}">
|
|
|
|
|
|
|
36 |
"""
|
37 |
|
38 |
theme = gr.themes.Soft(
|
|
|
23 |
|
24 |
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"
|
|
|
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="/apple-touch-icon.png">
|
37 |
+
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
38 |
+
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
39 |
"""
|
40 |
|
41 |
theme = gr.themes.Soft(
|