Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -224,7 +224,7 @@ PandasTools.drawOptions.bondLineWidth = 1
|
|
224 |
PandasTools.drawOptions.explicitMethyl = True
|
225 |
PandasTools.drawOptions.singleColourWedgeBonds = True
|
226 |
PandasTools.drawOptions.useCDKAtomPalette()
|
227 |
-
PandasTools.molSize = (
|
228 |
|
229 |
session = requests.Session()
|
230 |
ADAPTER = HTTPAdapter(max_retries=Retry(total=5, backoff_factor=0.1, status_forcelist=[500, 502, 503, 504]))
|
@@ -491,7 +491,7 @@ def send_email(job_info):
|
|
491 |
|
492 |
server.sendmail(email_addr, email_info['email'], msg.as_string())
|
493 |
server.quit()
|
494 |
-
gr.Info('Email notification sent
|
495 |
except Exception as e:
|
496 |
gr.Warning('Failed to send email notification due to error: ' + str(e))
|
497 |
|
@@ -1872,7 +1872,7 @@ QALAHAYFAQYHDPDDEPVADPYDQSFESRDLLIDEWKSLTYDEVISFVPPPLDQEEMES
|
|
1872 |
|
1873 |
return gr.Dropdown(value=row['Model'],
|
1874 |
info=f"Reason: {scenario} in training; choosing the model "
|
1875 |
-
f"with the best {score} ({float(row[score])
|
1876 |
f"in the {scenario} scenario.")
|
1877 |
|
1878 |
|
|
|
224 |
PandasTools.drawOptions.explicitMethyl = True
|
225 |
PandasTools.drawOptions.singleColourWedgeBonds = True
|
226 |
PandasTools.drawOptions.useCDKAtomPalette()
|
227 |
+
PandasTools.molSize = (100, 64)
|
228 |
|
229 |
session = requests.Session()
|
230 |
ADAPTER = HTTPAdapter(max_retries=Retry(total=5, backoff_factor=0.1, status_forcelist=[500, 502, 503, 504]))
|
|
|
491 |
|
492 |
server.sendmail(email_addr, email_info['email'], msg.as_string())
|
493 |
server.quit()
|
494 |
+
gr.Info('Email notification sent.')
|
495 |
except Exception as e:
|
496 |
gr.Warning('Failed to send email notification due to error: ' + str(e))
|
497 |
|
|
|
1872 |
|
1873 |
return gr.Dropdown(value=row['Model'],
|
1874 |
info=f"Reason: {scenario} in training; choosing the model "
|
1875 |
+
f"with the best {score} ({float(row[score]):.3f}) "
|
1876 |
f"in the {scenario} scenario.")
|
1877 |
|
1878 |
|