Switching browser tab title "Gradio" -> "Owl" and adding tab favicon (#358)

This commit is contained in:
Wendong-Fan 2025-03-21 16:05:06 +08:00 committed by GitHub
commit df57df6880
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 2 deletions

BIN
assets/owl-favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
assets/owl-favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -857,7 +857,7 @@ def create_ui():
logs2,
)
with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue")) as app:
with gr.Blocks(title="Owl",theme=gr.themes.Soft(primary_hue="blue")) as app:
gr.Markdown(
"""
# 🦉 OWL Multi-Agent Collaboration System
@ -1294,7 +1294,7 @@ def main():
app = create_ui()
app.queue()
app.launch(share=False)
app.launch(share=False,favicon_path="../assets/owl-favicon.ico")
except Exception as e:
logging.error(f"Error occurred while starting the application: {str(e)}")
print(f"Error occurred while starting the application: {str(e)}")