Juggling commited on
Commit
9ad591d
·
verified ·
1 Parent(s): 470e2d1

Changed file path for downloading

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -318,7 +318,7 @@ def get_all_responses(schedule_name:str, password:str):
318
  df[col] = [elem.replace(DELIMITER, f"{DELIMITER} ") for elem in df[col].to_list()]
319
 
320
  directory = os.path.abspath(os.getcwd())
321
- path = directory + "/schedules/all responses.csv"
322
  df.to_csv(path, index=False)
323
 
324
  if len(df) == 0:
@@ -441,7 +441,7 @@ with gr.Blocks() as demo:
441
 
442
  # Let the user dynamically describe their workshops
443
  descriptions = gr.State([])
444
- new_description = gr.Textbox(label='Workshop Descriptions', info='Describe the workshop(s) you want to teach. Include the prereqs, difficulty level, and props required for each one. Hit "Enter" after each one.', visible=False)
445
 
446
  def add_descrip(descriptions, new_description):
447
  return descriptions + [{"name": new_description}], ""
 
318
  df[col] = [elem.replace(DELIMITER, f"{DELIMITER} ") for elem in df[col].to_list()]
319
 
320
  directory = os.path.abspath(os.getcwd())
321
+ path = directory + "all responses.csv"
322
  df.to_csv(path, index=False)
323
 
324
  if len(df) == 0:
 
441
 
442
  # Let the user dynamically describe their workshops
443
  descriptions = gr.State([])
444
+ new_description = gr.Textbox(label='Workshop Descriptions', info='Describe the workshop(s) you want to teach. Include the title, prereqs, difficulty level, and props required for each one. Hit "Enter" after each one.', visible=False)
445
 
446
  def add_descrip(descriptions, new_description):
447
  return descriptions + [{"name": new_description}], ""