Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +11,8 @@ subprocess.run('pip install llama-cpp-agent==0.2.10', shell=True)
|
|
11 |
####
|
12 |
space_link = "https://huggingface.co/spaces/Weyaxi/chat"
|
13 |
all_repo_ggufs = ["bartowski/Einstein-v6.1-Llama3-8B-GGUF", "LoneStriker/Einstein-v4-7B-GGUF"]
|
|
|
|
|
14 |
###
|
15 |
|
16 |
for gguf_model_id in all_repo_ggufs:
|
@@ -44,7 +46,7 @@ PLACEHOLDER = f"""
|
|
44 |
</figure>
|
45 |
<div style="padding: .5rem 1.5rem;">
|
46 |
<h2 style="text-align: left; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem;">Cognitive Computations</h2>
|
47 |
-
<p style="text-align: left; font-size: 16px; line-height: 1.5; margin-bottom: 15px;">
|
48 |
<div style="display: flex; justify-content: flex-end;">
|
49 |
<a href="https://discord.gg/cognitivecomputations" target="_blank" rel="noreferrer" style="padding: .5rem;">
|
50 |
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 5 30.67 23.25">
|
@@ -171,8 +173,7 @@ demo = gr.ChatInterface(
|
|
171 |
undo_btn="Undo",
|
172 |
clear_btn="Clear",
|
173 |
submit_btn="Send",
|
174 |
-
title="
|
175 |
-
description="## Chat with various Einstein models based on various base models. \n\nSelect your model in the additional input place",
|
176 |
chatbot=gr.Chatbot(scale=1, placeholder=PLACEHOLDER)
|
177 |
)
|
178 |
|
|
|
11 |
####
|
12 |
space_link = "https://huggingface.co/spaces/Weyaxi/chat"
|
13 |
all_repo_ggufs = ["bartowski/Einstein-v6.1-Llama3-8B-GGUF", "LoneStriker/Einstein-v4-7B-GGUF"]
|
14 |
+
text = "Chat with various Einstein models based on various base models. \n\nSelect your model in the additional input place",
|
15 |
+
|
16 |
###
|
17 |
|
18 |
for gguf_model_id in all_repo_ggufs:
|
|
|
46 |
</figure>
|
47 |
<div style="padding: .5rem 1.5rem;">
|
48 |
<h2 style="text-align: left; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem;">Cognitive Computations</h2>
|
49 |
+
<p style="text-align: left; font-size: 16px; line-height: 1.5; margin-bottom: 15px;">{text}</p>
|
50 |
<div style="display: flex; justify-content: flex-end;">
|
51 |
<a href="https://discord.gg/cognitivecomputations" target="_blank" rel="noreferrer" style="padding: .5rem;">
|
52 |
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 5 30.67 23.25">
|
|
|
173 |
undo_btn="Undo",
|
174 |
clear_btn="Clear",
|
175 |
submit_btn="Send",
|
176 |
+
title="Chat with Einstein 🧑🔬 series",
|
|
|
177 |
chatbot=gr.Chatbot(scale=1, placeholder=PLACEHOLDER)
|
178 |
)
|
179 |
|