Update app.py
Browse files
app.py
CHANGED
@@ -20,12 +20,16 @@ hf_hub_download(
|
|
20 |
local_dir = "."
|
21 |
)
|
22 |
|
|
|
|
|
|
|
|
|
|
|
23 |
hf_hub_download(
|
24 |
repo_id="PartAI/Dorna-Llama3-8B-Instruct-GGUF",
|
25 |
filename="dorna-llama3-8b-instruct.Q5_0.gguf",
|
26 |
local_dir = "."
|
27 |
)
|
28 |
-
|
29 |
hf_hub_download(
|
30 |
repo_id="PartAI/Dorna-Llama3-8B-Instruct-GGUF",
|
31 |
filename="dorna-llama3-8b-instruct.bf16.gguf",
|
@@ -48,6 +52,17 @@ css = """
|
|
48 |
.dark.assistant.dark, .dark.pending.dark {
|
49 |
background: #16141c !important;
|
50 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
"""
|
52 |
|
53 |
def get_messages_formatter_type(model_name):
|
|
|
20 |
local_dir = "."
|
21 |
)
|
22 |
|
23 |
+
hf_hub_download(
|
24 |
+
repo_id="PartAI/Dorna-Llama3-8B-Instruct-GGUF",
|
25 |
+
filename="dorna-llama3-8b-instruct.Q4_0.gguf",
|
26 |
+
local_dir = "."
|
27 |
+
)
|
28 |
hf_hub_download(
|
29 |
repo_id="PartAI/Dorna-Llama3-8B-Instruct-GGUF",
|
30 |
filename="dorna-llama3-8b-instruct.Q5_0.gguf",
|
31 |
local_dir = "."
|
32 |
)
|
|
|
33 |
hf_hub_download(
|
34 |
repo_id="PartAI/Dorna-Llama3-8B-Instruct-GGUF",
|
35 |
filename="dorna-llama3-8b-instruct.bf16.gguf",
|
|
|
52 |
.dark.assistant.dark, .dark.pending.dark {
|
53 |
background: #16141c !important;
|
54 |
}
|
55 |
+
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap');
|
56 |
+
body, .gradio-container, .gr-button, .gr-input, .gr-slider, .gr-dropdown, .gr-markdown {
|
57 |
+
font-family: 'Vazirmatn', sans-serif !important;
|
58 |
+
}
|
59 |
+
._button {
|
60 |
+
font-size: 20px;
|
61 |
+
}
|
62 |
+
pre, code {
|
63 |
+
direction: ltr !important;
|
64 |
+
unicode-bidi: plaintext !important;
|
65 |
+
}
|
66 |
"""
|
67 |
|
68 |
def get_messages_formatter_type(model_name):
|