Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,15 +12,14 @@ HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
|
| 12 |
DESCRIPTION = '''
|
| 13 |
<div>
|
| 14 |
<h1 style="text-align: center;">Colibri v0.1 Dolphin Meta Llama3 8B</h1>
|
| 15 |
-
<p>This Space demonstrates the cybersecurity-tuned model <a href="https://huggingface.co/CyberNative-AI/Colibri_8b_v0.1"><b>Colibri_8b_v0.1</b></a>.
|
| 16 |
-
<p>🦕 Looking for an even more powerful model? Check out the <a href="https://huggingface.co/chat/"><b>Hugging Chat</b></a> integration for Meta Llama 3 70b</p>
|
| 17 |
</div>
|
| 18 |
'''
|
| 19 |
|
| 20 |
LICENSE = """
|
| 21 |
<p/>
|
| 22 |
---
|
| 23 |
-
|
| 24 |
"""
|
| 25 |
|
| 26 |
PLACEHOLDER = """
|
|
@@ -107,7 +106,6 @@ chatbot=gr.Chatbot(height=450, placeholder=PLACEHOLDER, label='Gradio ChatInterf
|
|
| 107 |
with gr.Blocks(fill_height=True, css=css) as demo:
|
| 108 |
|
| 109 |
gr.Markdown(DESCRIPTION)
|
| 110 |
-
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
| 111 |
gr.ChatInterface(
|
| 112 |
fn=chat_llama3_8b,
|
| 113 |
chatbot=chatbot,
|
|
|
|
| 12 |
DESCRIPTION = '''
|
| 13 |
<div>
|
| 14 |
<h1 style="text-align: center;">Colibri v0.1 Dolphin Meta Llama3 8B</h1>
|
| 15 |
+
<p>This Space demonstrates the cybersecurity-tuned model <a href="https://huggingface.co/CyberNative-AI/Colibri_8b_v0.1"><b>Colibri_8b_v0.1</b></a>.
|
|
|
|
| 16 |
</div>
|
| 17 |
'''
|
| 18 |
|
| 19 |
LICENSE = """
|
| 20 |
<p/>
|
| 21 |
---
|
| 22 |
+
Colibri v0.1 is built with Dolphin Meta Llama 3
|
| 23 |
"""
|
| 24 |
|
| 25 |
PLACEHOLDER = """
|
|
|
|
| 106 |
with gr.Blocks(fill_height=True, css=css) as demo:
|
| 107 |
|
| 108 |
gr.Markdown(DESCRIPTION)
|
|
|
|
| 109 |
gr.ChatInterface(
|
| 110 |
fn=chat_llama3_8b,
|
| 111 |
chatbot=chatbot,
|