BulatF commited on
Commit
d4e67b8
·
1 Parent(s): 44b6385

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -269,9 +269,9 @@ def display_ratings(df, review_column):
269
  cols[i-1].markdown("No important words to display")
270
 
271
 
272
-
273
- # At the end of your code, or after you have finished processing the file
274
- os.remove(tmp_file_name)
275
 
276
  if __name__ == "__main__":
277
  main()
 
269
  cols[i-1].markdown("No important words to display")
270
 
271
 
272
+ tmp_file_name = main()
273
+ if tmp_file_name is not None:
274
+ os.remove(tmp_file_name)
275
 
276
  if __name__ == "__main__":
277
  main()