icashwave commited on
Commit
916a0ac
1 Parent(s): 808ac51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -185,8 +185,9 @@ with gr.Blocks(title=title) as demo:
185
  submit.click(evaluate, [instruction, input, token_count, temperature, top_p, presence_penalty, count_penalty], [output])
186
 
187
  clear.click(lambda: None, [], [output])
188
- data.click(lambda x: x, [data], [prompt, token_count, temperature, top_p, presence_penalty, count_penalty])
189
-
 
190
  # Gradio launch
191
  demo.queue(concurrency_count=1, max_size=10)
192
  demo.launch(share=False)
 
185
  submit.click(evaluate, [instruction, input, token_count, temperature, top_p, presence_penalty, count_penalty], [output])
186
 
187
  clear.click(lambda: None, [], [output])
188
+ #data.click(lambda x: x, [data], [prompt, token_count, temperature, top_p, presence_penalty, count_penalty])
189
+ data.click(lambda x: x, [data], [instruction, input, token_count, temperature, top_p, presence_penalty, count_penalty])
190
+
191
  # Gradio launch
192
  demo.queue(concurrency_count=1, max_size=10)
193
  demo.launch(share=False)