Update app.py
Browse files
app.py
CHANGED
@@ -169,7 +169,7 @@ llm = ChatOpenAI(
|
|
169 |
max_tokens=None,
|
170 |
timeout=None,
|
171 |
max_retries=2,
|
172 |
-
api_key=
|
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
|
346 |
-
gr.Markdown('###
|
347 |
-
gr.Markdown("
|
|
|
|
|
|
|
|
|
|
|
|
|
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,
|