import streamlit as st import os import torch #import math import numpy as np #import matplotlib.pyplot as plt #import pathlib #from AtomLenz import * #from utils_graph import * #from Object_Smiles import Objects_Smiles #from robust_detection import wandb_config from robust_detection import utils from robust_detection.models.rcnn import RCNN from robust_detection.data_utils.rcnn_data_utils import Objects_RCNN, COCO_RCNN import pytorch_lightning as pl from pytorch_lightning.loggers import WandbLogger from pytorch_lightning.loggers import CSVLogger from pytorch_lightning.callbacks.model_checkpoint import ModelCheckpoint from pytorch_lightning.callbacks.early_stopping import EarlyStopping from pytorch_lightning.callbacks import LearningRateMonitor from rdkit import Chem from rdkit.Chem import AllChem from rdkit import DataStructs x = st.slider('Select a value') st.write(x, 'squared is', x * x)