circulartext commited on
Commit
7da5814
·
verified ·
1 Parent(s): 2076ece

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -234,6 +234,18 @@ def process_text(input_text):
234
  <div style='max-width: 800px; margin: auto;'>
235
  {output_html}
236
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
237
  </body>
238
  </html>
239
  """
 
234
  <div style='max-width: 800px; margin: auto;'>
235
  {output_html}
236
  </div>
237
+ <script>
238
+ function triggerContinuousMovement() {{
239
+ setInterval(() => {{
240
+ document.querySelectorAll('.styled-letter').forEach(letter => {{
241
+ letter.style.animation = '';
242
+ setTimeout(() => {{
243
+ letter.style.animation = '{animation_name} 0.5s ease-in-out';
244
+ }}, 10);
245
+ }});
246
+ }}, 1000);
247
+ }}
248
+ </script>
249
  </body>
250
  </html>
251
  """