Spaces:
Sleeping
Sleeping
suhasg
commited on
Commit
·
80a67e8
1
Parent(s):
35e3124
changed the make_api_call
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def make_api_call(gpt_assistant_prompt, gpt_user_prompt):
|
|
36 |
|
37 |
response = client.chat(
|
38 |
model="command",
|
39 |
-
|
40 |
temperature=temperature,
|
41 |
max_tokens=max_tokens,
|
42 |
)
|
|
|
36 |
|
37 |
response = client.chat(
|
38 |
model="command",
|
39 |
+
message=message,
|
40 |
temperature=temperature,
|
41 |
max_tokens=max_tokens,
|
42 |
)
|