Xilixmeaty40 commited on
Commit
78b3ee4
1 Parent(s): f814fb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ with gr.Blocks() as app:
116
  theme = gr.Radio(label="Theme", choices=["light", "dark"], value="light")
117
  chatblock = gr.Dropdown(label="Chatblocks", choices=list(range(0, 21)), value=0, type="index")
118
  header = gr.Checkbox(label="Include header?", value=True)
119
- rand.change(check_rand, inputs=[rand, seed], outputs=seed)
120
  btn.click(chat_inf, inputs=[sys_inp, inp, chat_b, memory, seed, temp, tokens, top_p, rep_p, chat_mem, custom_prompt], outputs=[chat_b, memory])
121
  stop_btn.click(lambda: None, [])
122
  clear_btn.click(clear_fn, [])
 
116
  theme = gr.Radio(label="Theme", choices=["light", "dark"], value="light")
117
  chatblock = gr.Dropdown(label="Chatblocks", choices=list(range(0, 21)), value=0, type="index")
118
  header = gr.Checkbox(label="Include header?", value=True)
119
+ check_rand(rand_val, rand_val)
120
  btn.click(chat_inf, inputs=[sys_inp, inp, chat_b, memory, seed, temp, tokens, top_p, rep_p, chat_mem, custom_prompt], outputs=[chat_b, memory])
121
  stop_btn.click(lambda: None, [])
122
  clear_btn.click(clear_fn, [])