Kims12 commited on
Commit
c29c7cd
·
verified ·
1 Parent(s): 0f5bee7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -258,8 +258,8 @@ with gr.Blocks() as demo:
258
  label="System Message",
259
  lines=3
260
  )
261
- cohere_max_tokens = gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max Tokens")
262
- cohere_temperature = gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature")
263
  cohere_top_p = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-P")
264
 
265
  cohere_submit_button = gr.Button("전송")
@@ -309,7 +309,7 @@ with gr.Blocks() as demo:
309
  label="System Message",
310
  lines=3
311
  )
312
- chatgpt_max_tokens = gr.Slider(minimum=1, maximum=4096, value=1024, step=1, label="Max Tokens")
313
  chatgpt_temperature = gr.Slider(minimum=0.1, maximum=2.0, value=0.7, step=0.05, label="Temperature")
314
  chatgpt_top_p = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-P")
315
 
@@ -410,10 +410,10 @@ with gr.Blocks() as demo:
410
  lines=3
411
  )
412
  claude_max_tokens = gr.Slider(
413
- minimum=1,
414
- maximum=4096,
415
- value=512,
416
- step=1,
417
  label="Max Tokens"
418
  )
419
  claude_temperature = gr.Slider(
 
258
  label="System Message",
259
  lines=3
260
  )
261
+ cohere_max_tokens = gr.Slider(minimum=100, maximum=10000, value=4000, step=100, label="Max Tokens")
262
+ cohere_temperature = gr.Slider(minimum=0.1, maximum=2.0, value=0.7, step=0.1, label="Temperature")
263
  cohere_top_p = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-P")
264
 
265
  cohere_submit_button = gr.Button("전송")
 
309
  label="System Message",
310
  lines=3
311
  )
312
+ chatgpt_max_tokens = gr.Slider(minimum=100, maximum=4000, value=2000, step=100, label="Max Tokens")
313
  chatgpt_temperature = gr.Slider(minimum=0.1, maximum=2.0, value=0.7, step=0.05, label="Temperature")
314
  chatgpt_top_p = gr.Slider(minimum=0.1, maximum=1.0, value=0.95, step=0.05, label="Top-P")
315
 
 
410
  lines=3
411
  )
412
  claude_max_tokens = gr.Slider(
413
+ minimum=100,
414
+ maximum=4000,
415
+ value=2000,
416
+ step=100,
417
  label="Max Tokens"
418
  )
419
  claude_temperature = gr.Slider(