Spaces:
Running
Running
elif source == "drive":
Browse files
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 |
-
|
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()
|