Spaces:
Running
Running
ai_content_json = ai_content_json[-1]
Browse files
app.py
CHANGED
@@ -1053,7 +1053,7 @@ def get_ai_content(password, video_id, df_string, topic, grade, level, specific_
|
|
1053 |
upload_file_to_gcs_with_json_string(gcs_client, bucket_name, blob_name, ai_content_text)
|
1054 |
print("ai_content已上傳到GCS")
|
1055 |
else:
|
1056 |
-
ai_content_json = ai_content_json[
|
1057 |
ai_content = ai_content_json["content"]
|
1058 |
prompt = ai_content_json["prompt"]
|
1059 |
|
|
|
1053 |
upload_file_to_gcs_with_json_string(gcs_client, bucket_name, blob_name, ai_content_text)
|
1054 |
print("ai_content已上傳到GCS")
|
1055 |
else:
|
1056 |
+
ai_content_json = ai_content_json[-1]
|
1057 |
ai_content = ai_content_json["content"]
|
1058 |
prompt = ai_content_json["prompt"]
|
1059 |
|