Spaces:
Sleeping
Sleeping
Update my_model/tabs/run_inference.py
Browse files
my_model/tabs/run_inference.py
CHANGED
|
@@ -95,7 +95,7 @@ class InferenceRunner(StateManager):
|
|
| 95 |
|
| 96 |
# Initialize qa_history for each image
|
| 97 |
qa_history = image_data.get('qa_history', [])
|
| 98 |
-
|
| 99 |
if image_data['analysis_done']:
|
| 100 |
st.session_state['loading_in_progress'] = False
|
| 101 |
sample_questions = config.SAMPLE_QUESTIONS.get(image_key, [])
|
|
|
|
| 95 |
|
| 96 |
# Initialize qa_history for each image
|
| 97 |
qa_history = image_data.get('qa_history', [])
|
| 98 |
+
|
| 99 |
if image_data['analysis_done']:
|
| 100 |
st.session_state['loading_in_progress'] = False
|
| 101 |
sample_questions = config.SAMPLE_QUESTIONS.get(image_key, [])
|