Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def gradio_predict(user_message, system_message, max_new_tokens, temperature, to
|
|
52 |
Intel_bot.set_system_message(system_message)
|
53 |
if not do_sample:
|
54 |
max_length = 780
|
55 |
-
temperature =
|
56 |
top_p = 0.9
|
57 |
repetition_penalty = 0.9
|
58 |
response = Intel_bot.predict(user_message, temperature, max_new_tokens, top_p, repetition_penalty, do_sample)
|
|
|
52 |
Intel_bot.set_system_message(system_message)
|
53 |
if not do_sample:
|
54 |
max_length = 780
|
55 |
+
temperature = 0.9
|
56 |
top_p = 0.9
|
57 |
repetition_penalty = 0.9
|
58 |
response = Intel_bot.predict(user_message, temperature, max_new_tokens, top_p, repetition_penalty, do_sample)
|