ColeGuion commited on
Commit
5aafc6e
·
verified ·
1 Parent(s): 21b62df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,8 +41,8 @@ def respond(prompt, max_length, min_length, max_new_tokens, num_beams, temperatu
41
  #response = correct_text(prompt, max_length, max_new_tokens, min_length, num_beams, temperature, top_p)
42
  return prompt
43
 
44
- def update_prompt(promptBtn):
45
- return promptBtn.value
46
 
47
  # Create the Gradio interface
48
  with gr.Blocks() as demo:
 
41
  #response = correct_text(prompt, max_length, max_new_tokens, min_length, num_beams, temperature, top_p)
42
  return prompt
43
 
44
+ def update_prompt(prompt):
45
+ return prompt
46
 
47
  # Create the Gradio interface
48
  with gr.Blocks() as demo: