Spaces:
Running
Running
jonathanagustin
commited on
Commit
•
e0954fa
1
Parent(s):
5814747
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -187,11 +187,12 @@ def main():
|
|
187 |
new_label = f"Input Text ({char_count:04d} / 4096 chars)"
|
188 |
return gr.update(label=new_label)
|
189 |
|
190 |
-
# Update the label when the text changes
|
191 |
input_textbox.change(
|
192 |
fn=update_label,
|
193 |
inputs=input_textbox,
|
194 |
outputs=input_textbox,
|
|
|
195 |
)
|
196 |
|
197 |
submit_button = gr.Button(
|
|
|
187 |
new_label = f"Input Text ({char_count:04d} / 4096 chars)"
|
188 |
return gr.update(label=new_label)
|
189 |
|
190 |
+
# Update the label when the text changes, with progress hidden
|
191 |
input_textbox.change(
|
192 |
fn=update_label,
|
193 |
inputs=input_textbox,
|
194 |
outputs=input_textbox,
|
195 |
+
show_progress='hidden', # Hide the progress indicator
|
196 |
)
|
197 |
|
198 |
submit_button = gr.Button(
|