chris1nexus
commited on
Commit
·
29a517e
1
Parent(s):
cd94e60
Update
Browse files
app.py
CHANGED
|
@@ -3,10 +3,11 @@ import openslide
|
|
| 3 |
import os
|
| 4 |
from streamlit_option_menu import option_menu
|
| 5 |
import torch
|
| 6 |
-
|
| 7 |
|
| 8 |
@st.cache(suppress_st_warning=True)
|
| 9 |
def load_model():
|
|
|
|
| 10 |
predictor = Predictor()
|
| 11 |
return predictor
|
| 12 |
|
|
|
|
| 3 |
import os
|
| 4 |
from streamlit_option_menu import option_menu
|
| 5 |
import torch
|
| 6 |
+
|
| 7 |
|
| 8 |
@st.cache(suppress_st_warning=True)
|
| 9 |
def load_model():
|
| 10 |
+
from predict import Predictor
|
| 11 |
predictor = Predictor()
|
| 12 |
return predictor
|
| 13 |
|