TheBobBob commited on
Commit
ebcb904
·
verified ·
1 Parent(s): abbf843

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
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