Daemontatox commited on
Commit
c4ea6a0
·
verified ·
1 Parent(s): 01f6044

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -4
app.py CHANGED
@@ -169,7 +169,7 @@ llm = ChatOpenAI(
169
  max_tokens=None,
170
  timeout=None,
171
  max_retries=2,
172
- api_key="...", # if you prefer to pass api key in directly instaed of using env vars
173
  base_url="https://openrouter.ai/api/v1",
174
 
175
  )
@@ -342,9 +342,15 @@ def clear_chat():
342
  # Gradio Interface
343
  with gr.Blocks() as iface:
344
  gr.Image("Image.jpg", width=750, height=300, show_label=False, show_download_button=False)
345
- gr.Markdown("# Mawared HR Assistant 3.2.6")
346
- gr.Markdown('### Instructions')
347
- gr.Markdown("Ask a question about MawaredHR and get a detailed answer , Added new model and Logging")
 
 
 
 
 
 
348
 
349
  chatbot = gr.Chatbot(
350
  height=750,
 
169
  max_tokens=None,
170
  timeout=None,
171
  max_retries=2,
172
+ api_key=OPENAPI_KEY, # if you prefer to pass api key in directly instaed of using env vars
173
  base_url="https://openrouter.ai/api/v1",
174
 
175
  )
 
342
  # Gradio Interface
343
  with gr.Blocks() as iface:
344
  gr.Image("Image.jpg", width=750, height=300, show_label=False, show_download_button=False)
345
+ gr.Markdown("# Mawared HR Assistant 4.0.2")
346
+ gr.Markdown('### Patch notes')
347
+ gr.Markdown("""
348
+ 1-New Algorithm for Retrieval
349
+
350
+ 2-New Knowledge base
351
+
352
+ 3-New base Model , DeepSeek R1
353
+ """)
354
 
355
  chatbot = gr.Chatbot(
356
  height=750,