Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ def do_ML_LLAMA(text:str, trycount:int):
|
|
120 |
|
121 |
while True:
|
122 |
currtime= time.time()
|
123 |
-
if(currtime>starttime+
|
124 |
return "Requested Could not be proceed"
|
125 |
try:
|
126 |
textarea_xpath = "//textarea[@data-testid='textbox' and @class='scroll-hide svelte-1kcgrqr' and @dir='ltr' and @placeholder='Type a message...']"
|
@@ -136,7 +136,7 @@ def do_ML_LLAMA(text:str, trycount:int):
|
|
136 |
continue
|
137 |
while True:
|
138 |
currtime= time.time()
|
139 |
-
if(currtime>starttime+
|
140 |
return "Requested Could not be proceed"
|
141 |
|
142 |
try:
|
|
|
120 |
|
121 |
while True:
|
122 |
currtime= time.time()
|
123 |
+
if(currtime>starttime+20):
|
124 |
return "Requested Could not be proceed"
|
125 |
try:
|
126 |
textarea_xpath = "//textarea[@data-testid='textbox' and @class='scroll-hide svelte-1kcgrqr' and @dir='ltr' and @placeholder='Type a message...']"
|
|
|
136 |
continue
|
137 |
while True:
|
138 |
currtime= time.time()
|
139 |
+
if(currtime>starttime+20):
|
140 |
return "Requested Could not be proceed"
|
141 |
|
142 |
try:
|