Update app.py
Browse files
app.py
CHANGED
@@ -291,9 +291,6 @@ def streamlit_app(db):
|
|
291 |
convert_sbml_to_antimony(model_file_path, antimony_file_path)
|
292 |
|
293 |
final_items = split_biomodels(antimony_file_path)
|
294 |
-
if not items: # Check if 'items' is empty, not 'final_items'
|
295 |
-
st.write("No content found in the biomodel.")
|
296 |
-
continue
|
297 |
|
298 |
db = create_vector_db(final_items) # Create or update the database with final items
|
299 |
|
|
|
291 |
convert_sbml_to_antimony(model_file_path, antimony_file_path)
|
292 |
|
293 |
final_items = split_biomodels(antimony_file_path)
|
|
|
|
|
|
|
294 |
|
295 |
db = create_vector_db(final_items) # Create or update the database with final items
|
296 |
|