Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 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)
|