Update app.py
Browse files
app.py
CHANGED
@@ -208,7 +208,7 @@ def do_ML_LLAMA70b_chori(text:str, trycount:int, proxy:str):
|
|
208 |
|
209 |
prev =""
|
210 |
|
211 |
-
time.sleep(
|
212 |
while True:
|
213 |
time.sleep(0.5)
|
214 |
currtime= time.time()
|
@@ -225,7 +225,7 @@ def do_ML_LLAMA70b_chori(text:str, trycount:int, proxy:str):
|
|
225 |
continue;
|
226 |
except:
|
227 |
print('done gen ')
|
228 |
-
|
229 |
div_element = driver.find_elements(By.CLASS_NAME,'md.svelte-9tftx4.chatbot')
|
230 |
div_element= div_element[len(div_element)-1]
|
231 |
# Extract and print the text content of the div element
|
|
|
208 |
|
209 |
prev =""
|
210 |
|
211 |
+
time.sleep(2)
|
212 |
while True:
|
213 |
time.sleep(0.5)
|
214 |
currtime= time.time()
|
|
|
225 |
continue;
|
226 |
except:
|
227 |
print('done gen ')
|
228 |
+
time.sleep(1)
|
229 |
div_element = driver.find_elements(By.CLASS_NAME,'md.svelte-9tftx4.chatbot')
|
230 |
div_element= div_element[len(div_element)-1]
|
231 |
# Extract and print the text content of the div element
|