Update app.py
Browse files
app.py
CHANGED
@@ -135,8 +135,9 @@ def do_ML_LLAMA70b(text:str, trycount:int):
|
|
135 |
textarea_element = driver.find_element(By.XPATH, xpath_expression)
|
136 |
for line in text.split('\n'):
|
137 |
textarea_element.send_keys(line)
|
138 |
-
textarea_element.send_keys(
|
139 |
-
textarea_element.send_keys(
|
|
|
140 |
|
141 |
break
|
142 |
except Exception as e:
|
|
|
135 |
textarea_element = driver.find_element(By.XPATH, xpath_expression)
|
136 |
for line in text.split('\n'):
|
137 |
textarea_element.send_keys(line)
|
138 |
+
textarea_element.send_keys(Keys.SHIFT + Keys.ENTER)
|
139 |
+
textarea_element.send_keys('\n')
|
140 |
+
|
141 |
|
142 |
break
|
143 |
except Exception as e:
|