Spaces:
Runtime error
Runtime error
fix: Fixed variable name typo
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def generate(
|
|
31 |
|
32 |
:param message: The new user prompt.
|
33 |
:param history: The history of the chat session.
|
34 |
-
:param
|
35 |
:param temperature: The temperature parameter for the model.
|
36 |
:param max_tokens: The maximum amount of tokens to use for the model.
|
37 |
:param top_p: The top p value for the model.
|
@@ -40,7 +40,7 @@ def generate(
|
|
40 |
logging.info("Generating Text")
|
41 |
logging.debug("message: %s", message)
|
42 |
logging.debug("history: %s", history)
|
43 |
-
logging.debug("system: %s",
|
44 |
logging.debug("temperature: %s", temperature)
|
45 |
logging.debug("max_tokens: %s", max_tokens)
|
46 |
logging.debug("top_p: %s", top_p)
|
|
|
31 |
|
32 |
:param message: The new user prompt.
|
33 |
:param history: The history of the chat session.
|
34 |
+
:param system_prompt: The system prompt of the model.
|
35 |
:param temperature: The temperature parameter for the model.
|
36 |
:param max_tokens: The maximum amount of tokens to use for the model.
|
37 |
:param top_p: The top p value for the model.
|
|
|
40 |
logging.info("Generating Text")
|
41 |
logging.debug("message: %s", message)
|
42 |
logging.debug("history: %s", history)
|
43 |
+
logging.debug("system: %s", system_prompt)
|
44 |
logging.debug("temperature: %s", temperature)
|
45 |
logging.debug("max_tokens: %s", max_tokens)
|
46 |
logging.debug("top_p: %s", top_p)
|