Shreyas094
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -373,9 +373,8 @@ Your response should be detailed, informative, accurate, and directly relevant t
|
|
373 |
messages=messages,
|
374 |
max_tokens=10000,
|
375 |
temperature=temperature,
|
376 |
-
frequency_penalty=1.
|
377 |
-
top_p=0.9
|
378 |
-
stream=True
|
379 |
)
|
380 |
return response.choices[0].message.content.strip()
|
381 |
except Exception as e:
|
|
|
373 |
messages=messages,
|
374 |
max_tokens=10000,
|
375 |
temperature=temperature,
|
376 |
+
frequency_penalty=1.2,
|
377 |
+
top_p=0.9
|
|
|
378 |
)
|
379 |
return response.choices[0].message.content.strip()
|
380 |
except Exception as e:
|