Update app.py
Browse files
app.py
CHANGED
@@ -205,7 +205,8 @@ def do_ML_MPT(text:str, trycount:int):
|
|
205 |
options = ChromeOptions()
|
206 |
options.add_argument('--no-sandbox')
|
207 |
options.add_argument('-headless')
|
208 |
-
|
|
|
209 |
driver = webdriver.Chrome(options= options,service=service)
|
210 |
driver.get("https://mosaicml-mpt-30b-chat.hf.space")
|
211 |
try:
|
|
|
205 |
options = ChromeOptions()
|
206 |
options.add_argument('--no-sandbox')
|
207 |
options.add_argument('-headless')
|
208 |
+
options.add_argument("start-maximized")
|
209 |
+
service = Service(executable_path=chrome_driver_path)
|
210 |
driver = webdriver.Chrome(options= options,service=service)
|
211 |
driver.get("https://mosaicml-mpt-30b-chat.hf.space")
|
212 |
try:
|