rishi1985 commited on
Commit
7a3ba74
·
1 Parent(s): 4708156

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -523,6 +523,7 @@ def do_ML_STARCODE(text:str, trycount:int):
523
  textarea_element.send_keys(line)
524
  # Simulate pressing the 'Shift + Enter' keys to add a newline without triggering submit
525
  textarea_element.send_keys(Keys.SHIFT + Keys.ENTER)
 
526
  textarea_element.send_keys('\n')
527
  break
528
  except:
 
523
  textarea_element.send_keys(line)
524
  # Simulate pressing the 'Shift + Enter' keys to add a newline without triggering submit
525
  textarea_element.send_keys(Keys.SHIFT + Keys.ENTER)
526
+ time.sleep(0.5)
527
  textarea_element.send_keys('\n')
528
  break
529
  except: