arif670 commited on
Commit
824a7c9
·
verified ·
1 Parent(s): 835f204

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -324,9 +324,6 @@ def main():
324
 
325
  # Recurrence Settings
326
  recurrence = st.selectbox("🔄 Repeat", ["None", "Daily", "Weekly", "Monthly"])
327
- end_condition = None
328
- end_date = None
329
- num_occurrences = None
330
 
331
  # Show recurrence options immediately after selecting recurrence type
332
  if recurrence != "None":
@@ -349,6 +346,10 @@ def main():
349
  value=5,
350
  help="Total number of task instances"
351
  )
 
 
 
 
352
 
353
  # File Upload Section
354
  uploaded_files = st.file_uploader(
 
324
 
325
  # Recurrence Settings
326
  recurrence = st.selectbox("🔄 Repeat", ["None", "Daily", "Weekly", "Monthly"])
 
 
 
327
 
328
  # Show recurrence options immediately after selecting recurrence type
329
  if recurrence != "None":
 
346
  value=5,
347
  help="Total number of task instances"
348
  )
349
+ else:
350
+ end_condition = None
351
+ end_date = None
352
+ num_occurrences = None
353
 
354
  # File Upload Section
355
  uploaded_files = st.file_uploader(