Update app.py
Browse files
app.py
CHANGED
@@ -140,7 +140,7 @@ def is_single_word_question(question):
|
|
140 |
return len(words) == 1
|
141 |
|
142 |
def responsefull(
|
143 |
-
prompt, history,selected_option,temperature=0.9, max_new_tokens=
|
144 |
):
|
145 |
temperature = float(temperature)
|
146 |
if temperature < 1e-2: temperature = 1e-2
|
|
|
140 |
return len(words) == 1
|
141 |
|
142 |
def responsefull(
|
143 |
+
prompt, history,selected_option,temperature=0.9, max_new_tokens=700, top_p=0.95, repetition_penalty=1.0,
|
144 |
):
|
145 |
temperature = float(temperature)
|
146 |
if temperature < 1e-2: temperature = 1e-2
|