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"),
|
136 |
gr.Dropdown([
|
137 |
'dorna-llama3-8b-instruct.Q8_0.gguf',
|
138 |
'dorna-llama3-8b-instruct.Q4_0.gguf',
|
@@ -180,12 +180,12 @@ 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)
|
189 |
)
|
190 |
|
191 |
if __name__ == "__main__":
|
|
|
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=True),
|
136 |
gr.Dropdown([
|
137 |
'dorna-llama3-8b-instruct.Q8_0.gguf',
|
138 |
'dorna-llama3-8b-instruct.Q4_0.gguf',
|
|
|
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 |
)
|
190 |
|
191 |
if __name__ == "__main__":
|