Spaces:
Running
on
Zero
Running
on
Zero
fda
Browse files
mysite/interpreter/interpreter.py
CHANGED
@@ -80,7 +80,7 @@ def completion(message: str, history, c=None, d=None, prompt="あなたは日本
|
|
80 |
|
81 |
#async with async_timeout.timeout(GENERATION_TIMEOUT_SEC):
|
82 |
try:
|
83 |
-
response =
|
84 |
model="llama3-8b-8192",
|
85 |
messages=messages,
|
86 |
temperature=1,
|
|
|
80 |
|
81 |
#async with async_timeout.timeout(GENERATION_TIMEOUT_SEC):
|
82 |
try:
|
83 |
+
response = client.chat.completions.create(
|
84 |
model="llama3-8b-8192",
|
85 |
messages=messages,
|
86 |
temperature=1,
|