Spaces:
Running
Running
Kunal Pai
commited on
Commit
·
3618e59
1
Parent(s):
ea6ff5b
feat: add favicon and update demo launch with favicon path
Browse files- favicon.ico +0 -0
- main.py +2 -2
favicon.ico
ADDED
|
|
main.py
CHANGED
|
@@ -177,7 +177,7 @@ parser.add_argument('--no-auth', action='store_true')
|
|
| 177 |
args, unknown = parser.parse_known_args()
|
| 178 |
no_auth = args.no_auth
|
| 179 |
|
| 180 |
-
with gr.Blocks(css=css, fill_width=True, fill_height=True) as demo:
|
| 181 |
model_manager = GeminiManager(
|
| 182 |
gemini_model="gemini-2.0-flash", modes=[mode for mode in Mode])
|
| 183 |
|
|
@@ -228,6 +228,6 @@ if __name__ == "__main__":
|
|
| 228 |
import uvicorn
|
| 229 |
|
| 230 |
if no_auth:
|
| 231 |
-
demo.launch()
|
| 232 |
else:
|
| 233 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
|
| 177 |
args, unknown = parser.parse_known_args()
|
| 178 |
no_auth = args.no_auth
|
| 179 |
|
| 180 |
+
with gr.Blocks(title="HASHIRU AI", css=css, fill_width=True, fill_height=True) as demo:
|
| 181 |
model_manager = GeminiManager(
|
| 182 |
gemini_model="gemini-2.0-flash", modes=[mode for mode in Mode])
|
| 183 |
|
|
|
|
| 228 |
import uvicorn
|
| 229 |
|
| 230 |
if no_auth:
|
| 231 |
+
demo.launch(favicon_path="favicon.ico")
|
| 232 |
else:
|
| 233 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|