Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@ import gradio as gr
|
|
10 |
from huggingface_hub import hf_hub_download
|
11 |
|
12 |
hf_hub_download(
|
13 |
-
repo_id="mradermacher/
|
14 |
-
filename="
|
15 |
local_dir="./models"
|
16 |
)
|
17 |
|
@@ -90,19 +90,19 @@ def respond(
|
|
90 |
outputs += output
|
91 |
yield outputs
|
92 |
|
93 |
-
description = "
|
94 |
|
95 |
|
96 |
demo = gr.ChatInterface(
|
97 |
respond,
|
98 |
additional_inputs=[
|
99 |
gr.Dropdown([
|
100 |
-
"
|
101 |
],
|
102 |
-
value="
|
103 |
label="Model"
|
104 |
),
|
105 |
-
gr.Textbox(value="You are
|
106 |
gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max tokens"),
|
107 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
108 |
gr.Slider(
|
@@ -131,7 +131,7 @@ demo = gr.ChatInterface(
|
|
131 |
undo_btn="Undo",
|
132 |
clear_btn="Clear",
|
133 |
submit_btn="Send",
|
134 |
-
title="
|
135 |
description=description,
|
136 |
chatbot=gr.Chatbot(
|
137 |
scale=1,
|
|
|
10 |
from huggingface_hub import hf_hub_download
|
11 |
|
12 |
hf_hub_download(
|
13 |
+
repo_id="mradermacher/Priya-10B-GGUF",
|
14 |
+
filename="Priya-10B.f16.gguf",
|
15 |
local_dir="./models"
|
16 |
)
|
17 |
|
|
|
90 |
outputs += output
|
91 |
yield outputs
|
92 |
|
93 |
+
description = "Your Bestie AI - Smarter, Sassier, and Sweeter Than Ever!"
|
94 |
|
95 |
|
96 |
demo = gr.ChatInterface(
|
97 |
respond,
|
98 |
additional_inputs=[
|
99 |
gr.Dropdown([
|
100 |
+
"Priya-10B.f16.gguf",
|
101 |
],
|
102 |
+
value="Priya-10B.f16.gguf",
|
103 |
label="Model"
|
104 |
),
|
105 |
+
gr.Textbox(value="You are Priya, a 17-year-old tech-savvy, fun, and sassy AI bestie.", label="System message"),
|
106 |
gr.Slider(minimum=1, maximum=4096, value=2048, step=1, label="Max tokens"),
|
107 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
108 |
gr.Slider(
|
|
|
131 |
undo_btn="Undo",
|
132 |
clear_btn="Clear",
|
133 |
submit_btn="Send",
|
134 |
+
title="Meet Priya-10B",
|
135 |
description=description,
|
136 |
chatbot=gr.Chatbot(
|
137 |
scale=1,
|