VictorSanh commited on
Commit
1779a57
·
1 Parent(s): cb0d838

trying some things

Browse files
Files changed (1) hide show
  1. app_dialogue.py +3 -3
app_dialogue.py CHANGED
@@ -361,7 +361,7 @@ with gr.Blocks(title="D", theme=gr.themes.Base()) as demo:
361
  visible=False,
362
  )
363
 
364
- imagebox = gr.Image(type="filepath", label="Image input", visible=False)
365
 
366
  with gr.Row():
367
  # def prefetch_images_in_history(user_prompt_str):
@@ -424,8 +424,8 @@ with gr.Blocks(title="D", theme=gr.themes.Base()) as demo:
424
  )
425
  max_new_tokens = gr.Slider(
426
  minimum=8,
427
- maximum=1024,
428
- value=256,
429
  step=1,
430
  interactive=True,
431
  label="Maximum number of new tokens to generate",
 
361
  visible=False,
362
  )
363
 
364
+ imagebox = gr.Image(type="filepath", label="Image input", visible=True)
365
 
366
  with gr.Row():
367
  # def prefetch_images_in_history(user_prompt_str):
 
424
  )
425
  max_new_tokens = gr.Slider(
426
  minimum=8,
427
+ maximum=256,
428
+ value=128,
429
  step=1,
430
  interactive=True,
431
  label="Maximum number of new tokens to generate",