Merge branch 'main' of https://huggingface.co/spaces/build-small-hackathon/OpenMythos
Browse files
README.md
CHANGED
|
@@ -1,14 +1,15 @@
|
|
| 1 |
---
|
| 2 |
title: OpenMythos
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 6.18.0
|
| 8 |
python_version: '3.13'
|
| 9 |
app_file: app.py
|
| 10 |
-
pinned:
|
| 11 |
short_description: An Open Source Cyber Security Agent
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
title: OpenMythos
|
| 3 |
+
emoji: 🛡️
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 6.18.0
|
| 8 |
python_version: '3.13'
|
| 9 |
app_file: app.py
|
| 10 |
+
pinned: true
|
| 11 |
short_description: An Open Source Cyber Security Agent
|
| 12 |
+
license: apache-2.0
|
| 13 |
---
|
| 14 |
|
| 15 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
|
@@ -328,7 +328,7 @@ with gr.Blocks(fill_width=True, title="Demo Chat") as demo:
|
|
| 328 |
|
| 329 |
with gr.Column(elem_id="chat-column"):
|
| 330 |
|
| 331 |
-
# Landing page shown when chat is empty
|
| 332 |
landing_page = gr.HTML(
|
| 333 |
value="""
|
| 334 |
<div id="landing-page">
|
|
@@ -338,7 +338,7 @@ with gr.Blocks(fill_width=True, title="Demo Chat") as demo:
|
|
| 338 |
</div>
|
| 339 |
</div>
|
| 340 |
<div class="landing-prompt">
|
| 341 |
-
<p>Made with ❤️ by KingNish and Himanshu</p>
|
| 342 |
</div>
|
| 343 |
</div>
|
| 344 |
""",
|
|
@@ -442,4 +442,4 @@ with gr.Blocks(fill_width=True, title="Demo Chat") as demo:
|
|
| 442 |
theme = gr.themes.Base(radius_size="none")
|
| 443 |
|
| 444 |
if __name__ == "__main__":
|
| 445 |
-
demo.queue(default_concurrency_limit=100, max_size=100).launch(ssr_mode=False, max_threads=100, css_paths="app.css", theme=theme)
|
|
|
|
| 328 |
|
| 329 |
with gr.Column(elem_id="chat-column"):
|
| 330 |
|
| 331 |
+
# Landing page shown when chat is empty with added hyperlinks
|
| 332 |
landing_page = gr.HTML(
|
| 333 |
value="""
|
| 334 |
<div id="landing-page">
|
|
|
|
| 338 |
</div>
|
| 339 |
</div>
|
| 340 |
<div class="landing-prompt">
|
| 341 |
+
<p>Made with ❤️ by <a href="http://huggingface.co/KingNish" target="_blank" style="color: var(--primary-500, #ff4b4b); text-decoration: underline;">KingNish</a> and <a href="https://huggingface.co/himanshu17HF" target="_blank" style="color: var(--primary-500, #ff4b4b); text-decoration: underline;">Himanshu</a></p>
|
| 342 |
</div>
|
| 343 |
</div>
|
| 344 |
""",
|
|
|
|
| 442 |
theme = gr.themes.Base(radius_size="none")
|
| 443 |
|
| 444 |
if __name__ == "__main__":
|
| 445 |
+
demo.queue(default_concurrency_limit=100, max_size=100).launch(ssr_mode=False, max_threads=100, css_paths="app.css", theme=theme)
|