Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def szukaj(query_text, history):
|
|
32 |
for text, similarity in top_n_results:
|
33 |
context=context+text
|
34 |
jaczat=client.chat.completions.create(
|
35 |
-
model='gpt-4o',
|
36 |
temperature=0.0,
|
37 |
max_tokens=1024,
|
38 |
messages=[
|
@@ -45,7 +45,7 @@ def szukaj(query_text, history):
|
|
45 |
return jaczat.choices[0].message.content
|
46 |
demo=gr.ChatInterface(
|
47 |
fn=szukaj,
|
48 |
-
theme=gr.themes.
|
49 |
autofocus=True,
|
50 |
title='Jacek',
|
51 |
description='Tu możesz zapytać o wszystko dotyczące cyfrowej dostępności, w tym przede wszystkim WCAG.',
|
|
|
32 |
for text, similarity in top_n_results:
|
33 |
context=context+text
|
34 |
jaczat=client.chat.completions.create(
|
35 |
+
model='gpt-4o-mini',
|
36 |
temperature=0.0,
|
37 |
max_tokens=1024,
|
38 |
messages=[
|
|
|
45 |
return jaczat.choices[0].message.content
|
46 |
demo=gr.ChatInterface(
|
47 |
fn=szukaj,
|
48 |
+
theme=gr.themes.Eefault(font='OpenSans'),
|
49 |
autofocus=True,
|
50 |
title='Jacek',
|
51 |
description='Tu możesz zapytać o wszystko dotyczące cyfrowej dostępności, w tym przede wszystkim WCAG.',
|