Staticaliza commited on
Commit
3ca2ec3
1 Parent(s): d4bf10a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -127,7 +127,7 @@ with gr.Blocks() as demo:
127
  output = gr.Textbox(label = "Output", value = "", lines = 50)
128
 
129
  run.click(predict, inputs = [access_key, instruction, history, input, wrap, model, temperature, top_p, top_k, rep_p, max_tokens, stop_seqs, seed], outputs = [output, input, history], queue = False)
130
- clear.click(clear_history, [], history)
131
- cloud.click(maintain_cloud, inputs = [], outputs = [input, output])
132
 
133
  demo.launch(show_api = True)
 
127
  output = gr.Textbox(label = "Output", value = "", lines = 50)
128
 
129
  run.click(predict, inputs = [access_key, instruction, history, input, wrap, model, temperature, top_p, top_k, rep_p, max_tokens, stop_seqs, seed], outputs = [output, input, history], queue = False)
130
+ clear.click(clear_history, [], history, queue = False)
131
+ cloud.click(maintain_cloud, inputs = [], outputs = [input, output], queue = False)
132
 
133
  demo.launch(show_api = True)