Update app.py
Browse files
app.py
CHANGED
@@ -169,7 +169,7 @@ def is_single_word_question(question):
|
|
169 |
return len(words) == 1
|
170 |
|
171 |
def responsefull(
|
172 |
-
prompt, history,selected_option,temperature=0.9, max_new_tokens=700, top_p=0.95, repetition_penalty=1.0,
|
173 |
):
|
174 |
temperature = float(temperature)
|
175 |
if temperature < 1e-2: temperature = 1e-2
|
|
|
169 |
return len(words) == 1
|
170 |
|
171 |
def responsefull(
|
172 |
+
request: gr.Request,prompt, history,selected_option,temperature=0.9, max_new_tokens=700, top_p=0.95, repetition_penalty=1.0,
|
173 |
):
|
174 |
temperature = float(temperature)
|
175 |
if temperature < 1e-2: temperature = 1e-2
|