Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -30,12 +30,7 @@ def respond(
|
|
30 |
response = ""
|
31 |
completion = client.chat.completions.create(
|
32 |
model="nvidia/llama-3.1-nemotron-70b-instruct",
|
33 |
-
messages=
|
34 |
-
{
|
35 |
-
"role": "user",
|
36 |
-
"content": "What is the meaning of life?"
|
37 |
-
}
|
38 |
-
],
|
39 |
stream=True,
|
40 |
temperature=temperature,
|
41 |
top_p=top_p,
|
|
|
30 |
response = ""
|
31 |
completion = client.chat.completions.create(
|
32 |
model="nvidia/llama-3.1-nemotron-70b-instruct",
|
33 |
+
messages=messages,
|
|
|
|
|
|
|
|
|
|
|
34 |
stream=True,
|
35 |
temperature=temperature,
|
36 |
top_p=top_p,
|