MiladMola commited on
Commit
d9eb9c3
1 Parent(s): 73f3c23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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="Retry",
184
- undo_btn="Undo",
185
- clear_btn="Clear",
186
- submit_btn="Send",
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__":