Update app.py
Browse files
app.py
CHANGED
@@ -212,7 +212,7 @@ def extract_ip_and_device(headers_obj):
|
|
212 |
return ip_address, device_info
|
213 |
|
214 |
def responsefull(
|
215 |
-
request: gr.Request,prompt, history,selected_option,temperature=0.9, max_new_tokens=
|
216 |
):
|
217 |
temperature = float(temperature)
|
218 |
if temperature < 1e-2: temperature = 1e-2
|
|
|
212 |
return ip_address, device_info
|
213 |
|
214 |
def responsefull(
|
215 |
+
request: gr.Request,prompt, history,selected_option,temperature=0.9, max_new_tokens=700, top_p=0.95, repetition_penalty=1.0,
|
216 |
):
|
217 |
temperature = float(temperature)
|
218 |
if temperature < 1e-2: temperature = 1e-2
|