Upload app.py
Browse files
app.py
CHANGED
@@ -176,7 +176,7 @@ with gr.Blocks(css = """#col_container { margin-left: auto; margin-right: auto;}
|
|
176 |
)
|
177 |
|
178 |
def update_max_tokens(model_name):
|
179 |
-
max_tokens.maximum = model_max_tokens[model_name]
|
180 |
|
181 |
model = gr.Radio(
|
182 |
["gpt-4", "gpt-4-32k", "gpt-3.5-turbo", "gpt-3.5-turbo-16k"],
|
|
|
176 |
)
|
177 |
|
178 |
def update_max_tokens(model_name):
|
179 |
+
max_tokens.change(maximum = model_max_tokens[model_name])
|
180 |
|
181 |
model = gr.Radio(
|
182 |
["gpt-4", "gpt-4-32k", "gpt-3.5-turbo", "gpt-3.5-turbo-16k"],
|