Update app.py
Browse files
app.py
CHANGED
@@ -45,9 +45,10 @@ def predict(message, system_prompt='', temperature=0.7, max_new_tokens=4096,Topp
|
|
45 |
response = client.predict(
|
46 |
message, # str in 'Message' Textbox component
|
47 |
system_prompt, # str in 'Optional system prompt' Textbox component
|
48 |
-
temperature, # int | float (numeric value between 0.0 and 1.0)
|
49 |
max_new_tokens, # int | float (numeric value between 0 and 4096)
|
50 |
-
|
|
|
|
|
51 |
Repetitionpenalty, # int | float (numeric value between 1.0 and 2.0)
|
52 |
api_name="/chat"
|
53 |
)
|
|
|
45 |
response = client.predict(
|
46 |
message, # str in 'Message' Textbox component
|
47 |
system_prompt, # str in 'Optional system prompt' Textbox component
|
|
|
48 |
max_new_tokens, # int | float (numeric value between 0 and 4096)
|
49 |
+
temperature, # int | float (numeric value between 0.0 and 1.0)
|
50 |
+
Topp,
|
51 |
+
500,
|
52 |
Repetitionpenalty, # int | float (numeric value between 1.0 and 2.0)
|
53 |
api_name="/chat"
|
54 |
)
|