Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def predict(api_key, user_input):
|
|
21 |
model="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
22 |
prompt=prompt,
|
23 |
temperature=0.7,
|
24 |
-
max_tokens=
|
25 |
|
26 |
response = completion.choices[0].text
|
27 |
return response
|
|
|
21 |
model="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
22 |
prompt=prompt,
|
23 |
temperature=0.7,
|
24 |
+
max_tokens=1000)
|
25 |
|
26 |
response = completion.choices[0].text
|
27 |
return response
|