Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,11 @@ hf_hub_download(
|
|
14 |
filename="helpingai-6b-q4_k_m.gguf",
|
15 |
local_dir="./models"
|
16 |
)
|
17 |
-
|
|
|
|
|
|
|
|
|
18 |
|
19 |
|
20 |
llm = None
|
@@ -91,7 +95,7 @@ def respond(
|
|
91 |
outputs += output
|
92 |
yield outputs
|
93 |
|
94 |
-
description = "
|
95 |
|
96 |
|
97 |
demo = gr.ChatInterface(
|
@@ -99,8 +103,9 @@ demo = gr.ChatInterface(
|
|
99 |
additional_inputs=[
|
100 |
gr.Dropdown([
|
101 |
'helpingai-6b-q4_k_m.gguf',
|
|
|
102 |
],
|
103 |
-
value="
|
104 |
label="Model"
|
105 |
),
|
106 |
gr.Textbox(value="You are HelpingAI a emotional AI always answer my question in HelpingAI style", label="System message"),
|
|
|
14 |
filename="helpingai-6b-q4_k_m.gguf",
|
15 |
local_dir="./models"
|
16 |
)
|
17 |
+
hf_hub_download(
|
18 |
+
repo_id="Abhaykoul/HelpingAI2-4x6B",
|
19 |
+
filename="helpingai2-4x6b-q4_k_m.gguf",
|
20 |
+
local_dir="./models"
|
21 |
+
)
|
22 |
|
23 |
|
24 |
llm = None
|
|
|
95 |
outputs += output
|
96 |
yield outputs
|
97 |
|
98 |
+
description = "Defualt to 4x6B in Additional Inputs you can change model"
|
99 |
|
100 |
|
101 |
demo = gr.ChatInterface(
|
|
|
103 |
additional_inputs=[
|
104 |
gr.Dropdown([
|
105 |
'helpingai-6b-q4_k_m.gguf',
|
106 |
+
'helpingai2-4x6b-q4_k_m.gguf'
|
107 |
],
|
108 |
+
value="helpingai2-4x6b-q4_k_m.gguf",
|
109 |
label="Model"
|
110 |
),
|
111 |
gr.Textbox(value="You are HelpingAI a emotional AI always answer my question in HelpingAI style", label="System message"),
|