Spaces:
Build error
Build error
UI changes
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from src.Surveyor import Surveyor
|
|
8 |
|
9 |
|
10 |
|
11 |
-
@st.experimental_singleton(
|
12 |
def get_surveyor_instance(_print_fn, _survey_print_fn):
|
13 |
with st.spinner('Loading The-Surveyor ...'):
|
14 |
return Surveyor(print_fn=_print_fn, survey_print_fn=_survey_print_fn, high_gpu=True)
|
|
|
8 |
|
9 |
|
10 |
|
11 |
+
@st.experimental_singleton(suppress_st_warning=True)
|
12 |
def get_surveyor_instance(_print_fn, _survey_print_fn):
|
13 |
with st.spinner('Loading The-Surveyor ...'):
|
14 |
return Surveyor(print_fn=_print_fn, survey_print_fn=_survey_print_fn, high_gpu=True)
|