Spaces:
Running
Running
Update my_model/tabs/run_inference.py
Browse files
my_model/tabs/run_inference.py
CHANGED
@@ -301,7 +301,8 @@ class InferenceRunner(StateManager):
|
|
301 |
|
302 |
st.write(st.session_state['method'])
|
303 |
st.write(st.session_state['previous_state']['method'])
|
304 |
-
st.
|
|
|
305 |
|
306 |
if self.is_model_loaded:
|
307 |
free_gpu_resources()
|
|
|
301 |
|
302 |
st.write(st.session_state['method'])
|
303 |
st.write(st.session_state['previous_state']['method'])
|
304 |
+
if st.session_state['kbvqa'] is not None:
|
305 |
+
st.write(st.session_state['kbvqa'].kbvqa_model_name)
|
306 |
|
307 |
if self.is_model_loaded:
|
308 |
free_gpu_resources()
|