YashsharmaPhD commited on
Commit
fa411d1
·
verified ·
1 Parent(s): a07c2d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ remote_path = "/path/to/audio/folders" # Change based on server
19
  if st.sidebar.button("🔄 Connect & List Folders"):
20
  try:
21
  # Connect to FTP server
22
- ftp = FTP(host, timeout=60)
23
  ftp.login(user=username, passwd=password)
24
 
25
  # List available folders (filter date-based ones)
 
19
  if st.sidebar.button("🔄 Connect & List Folders"):
20
  try:
21
  # Connect to FTP server
22
+ ftp = FTP(host, timeout=120)
23
  ftp.login(user=username, passwd=password)
24
 
25
  # List available folders (filter date-based ones)