crodri commited on
Commit
c897ce3
1 Parent(s): ed2cb4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks(**AinaGradioTheme().get_kwargs()) as demo:
105
  input_.change(fn=change_interactive, inputs=[input_], outputs=[clear_btn, submit_btn])
106
 
107
 
108
- input_.change(fn=None, inputs=input_, _js=f"(i, m) => document.getElementById('counter').textContent = i.length + ' /' + {MAX_NEW_TOKENS}")
109
 
110
 
111
 
 
105
  input_.change(fn=change_interactive, inputs=[input_], outputs=[clear_btn, submit_btn])
106
 
107
 
108
+ input_.change(fn=None, inputs=input_, js=f"(i, m) => document.getElementById('counter').textContent = i.length + ' /' + {MAX_NEW_TOKENS}")
109
 
110
 
111