Update app.py
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ from matplotlib import pyplot as plt
|
|
8 |
|
9 |
|
10 |
def gradio_demo(model_name, sequence_input, nucleus_image, protein_image):
|
11 |
-
model = f"models/{model_name}.ckpt"
|
12 |
-
config = f"models/{model_name}.yaml"
|
13 |
|
14 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
15 |
|
|
|
8 |
|
9 |
|
10 |
def gradio_demo(model_name, sequence_input, nucleus_image, protein_image):
|
11 |
+
model = f"CELL-E_2-Image_Prediction/models/{model_name}.ckpt"
|
12 |
+
config = f"CELL-E_2-Image_Prediction/models/{model_name}.yaml"
|
13 |
|
14 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
15 |
|