hltdx commited on
Commit
a620d06
·
unverified ·
1 Parent(s): fd207f2

Fixing return in delete_data function.

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,9 +41,9 @@ def delete_data(secret):
41
  return
42
  if os.path.exists(local_storage_file):
43
  os.remove(local_storage_file)
44
- print("Data deleted successfully")
45
  else:
46
- print("No data found")
47
 
48
 
49
  # Create Gradio interface
 
41
  return
42
  if os.path.exists(local_storage_file):
43
  os.remove(local_storage_file)
44
+ return "Data deleted successfully"
45
  else:
46
+ return "No data found"
47
 
48
 
49
  # Create Gradio interface