dgsilvia commited on
Commit
347cdbb
·
verified ·
1 Parent(s): 745b84c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -202,7 +202,7 @@ if __name__ == "__main__":
202
  '''
203
  import zipfile
204
  import os
205
-
206
- if not os.path.exists("chroma_db"):
207
- with zipfile.ZipFile("chroma_db.zip", 'r') as zip_ref:
208
- zip_ref.extractall(".")
 
202
  '''
203
  import zipfile
204
  import os
205
+ if __name__ == "__main__":
206
+ if not os.path.exists("chroma_db"):
207
+ with zipfile.ZipFile("chroma_db.zip", 'r') as zip_ref:
208
+ zip_ref.extractall(".")