Tonic commited on
Commit
6bb1546
·
verified ·
1 Parent(s): 857ca0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def full_interface(prompt, max_new_tokens, top_k, temperature, top_p, repetition
104
  # Set the visibility of the generated text and highlight components
105
  return (generated_text, generated_highlight, pos_count_input, html_input,
106
  gr.update(visible=True), dependency_parse_generated_html,
107
- gr.update(visible=True), gr.update(visible(False)))
108
 
109
  def reset_interface():
110
  return gr.update(visible=True), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=True)
 
104
  # Set the visibility of the generated text and highlight components
105
  return (generated_text, generated_highlight, pos_count_input, html_input,
106
  gr.update(visible=True), dependency_parse_generated_html,
107
+ gr.update(visible=True), gr.update(visible=False))
108
 
109
  def reset_interface():
110
  return gr.update(visible=True), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False), gr.update(visible=True)