Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,7 @@ def respond(
|
|
23 |
max_tokens,
|
24 |
temperature,
|
25 |
top_p,
|
|
|
26 |
):
|
27 |
messages = [{"role": "system", "content": system_message}]
|
28 |
|
@@ -42,6 +43,7 @@ def respond(
|
|
42 |
stream=True,
|
43 |
temperature=temperature,
|
44 |
top_p=top_p,
|
|
|
45 |
):
|
46 |
token = message.choices[0].delta.content
|
47 |
|
|
|
23 |
max_tokens,
|
24 |
temperature,
|
25 |
top_p,
|
26 |
+
latex_delimiters=None
|
27 |
):
|
28 |
messages = [{"role": "system", "content": system_message}]
|
29 |
|
|
|
43 |
stream=True,
|
44 |
temperature=temperature,
|
45 |
top_p=top_p,
|
46 |
+
latex_delimiters=latex_delimiters
|
47 |
):
|
48 |
token = message.choices[0].delta.content
|
49 |
|