Update app.py
Browse files
app.py
CHANGED
@@ -132,7 +132,7 @@ PLACEHOLDER = """
|
|
132 |
demo = gr.ChatInterface(
|
133 |
respond,
|
134 |
additional_inputs=[
|
135 |
-
gr.Textbox(value="You are a helpful Persian assistant. Please answer questions in the asked language.", label="System message", rtl=
|
136 |
gr.Dropdown([
|
137 |
'dorna-llama3-8b-instruct.Q8_0.gguf',
|
138 |
'dorna-llama3-8b-instruct.Q4_0.gguf',
|
@@ -148,7 +148,7 @@ demo = gr.ChatInterface(
|
|
148 |
gr.Slider(
|
149 |
minimum=0.1,
|
150 |
maximum=1.0,
|
151 |
-
value=0.
|
152 |
step=0.05,
|
153 |
label="Top-p",
|
154 |
),
|
@@ -180,10 +180,11 @@ demo = gr.ChatInterface(
|
|
180 |
color_accent_soft_dark="transparent"
|
181 |
),
|
182 |
css=css,
|
183 |
-
retry_btn="تلاش مجدد",
|
184 |
-
undo_btn="بازگشت",
|
185 |
-
clear_btn="پاک کردن",
|
186 |
submit_btn="ارسال",
|
|
|
187 |
#description="Chat with Dorna-Llama3 8B GGUF Varients!",
|
188 |
chatbot=gr.Chatbot(scale=1, placeholder=PLACEHOLDER, rtl=True)
|
189 |
)
|
|
|
132 |
demo = gr.ChatInterface(
|
133 |
respond,
|
134 |
additional_inputs=[
|
135 |
+
gr.Textbox(value="You are a helpful Persian assistant. Please answer questions in the asked language.", label="System message", rtl=False),
|
136 |
gr.Dropdown([
|
137 |
'dorna-llama3-8b-instruct.Q8_0.gguf',
|
138 |
'dorna-llama3-8b-instruct.Q4_0.gguf',
|
|
|
148 |
gr.Slider(
|
149 |
minimum=0.1,
|
150 |
maximum=1.0,
|
151 |
+
value=0.85,
|
152 |
step=0.05,
|
153 |
label="Top-p",
|
154 |
),
|
|
|
180 |
color_accent_soft_dark="transparent"
|
181 |
),
|
182 |
css=css,
|
183 |
+
retry_btn="🔄 تلاش مجدد",
|
184 |
+
undo_btn="↩️ بازگشت",
|
185 |
+
clear_btn="🗑️ پاک کردن",
|
186 |
submit_btn="ارسال",
|
187 |
+
title="درنا، محصول مرکز تحقیقات هوش مصنوعی پارت",
|
188 |
#description="Chat with Dorna-Llama3 8B GGUF Varients!",
|
189 |
chatbot=gr.Chatbot(scale=1, placeholder=PLACEHOLDER, rtl=True)
|
190 |
)
|