youngtsai commited on
Commit
f28acdd
1 Parent(s): 1643087

elif source == "drive":

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -846,7 +846,7 @@ def get_questions(video_id, df_string, source="gcs"):
846
  questions_text = download_blob_to_string(gcs_client, bucket_name, blob_name)
847
  questions = json.loads(questions_text)
848
 
849
- else if source == "drive":
850
  # 去 g drive 確認是有有 video_id_questions.json
851
  print("===get_questions===")
852
  service = init_drive_service()
 
846
  questions_text = download_blob_to_string(gcs_client, bucket_name, blob_name)
847
  questions = json.loads(questions_text)
848
 
849
+ elif source == "drive":
850
  # 去 g drive 確認是有有 video_id_questions.json
851
  print("===get_questions===")
852
  service = init_drive_service()