Spaces:
Runtime error
Runtime error
Peter
commited on
Commit
·
f6e8a16
1
Parent(s):
0b3d061
🎨 format
Browse filesSigned-off-by: Peter <[email protected]>
app.py
CHANGED
@@ -45,7 +45,9 @@ cwd = Path.cwd()
|
|
45 |
my_cwd = str(cwd.resolve()) # string so it can be passed to os.path() objects
|
46 |
|
47 |
|
48 |
-
def chat(
|
|
|
|
|
49 |
"""
|
50 |
chat - the main function for the chatbot. This is the function that is called when the user
|
51 |
|
|
|
45 |
my_cwd = str(cwd.resolve()) # string so it can be passed to os.path() objects
|
46 |
|
47 |
|
48 |
+
def chat(
|
49 |
+
prompt_message, temperature: float = 0.6, top_p: float = 0.95, top_k: int = 25
|
50 |
+
) -> str:
|
51 |
"""
|
52 |
chat - the main function for the chatbot. This is the function that is called when the user
|
53 |
|