Spaces:
Running
Running
print("===get_video_id_summary error===")
Browse files
app.py
CHANGED
@@ -402,6 +402,8 @@ def get_video_id_summary(video_id, df_string):
|
|
402 |
return summary_json
|
403 |
except Exception as e:
|
404 |
error_msg = f" {video_id} 摘要錯誤: {str(e)}"
|
|
|
|
|
405 |
raise gr.Error(error_msg)
|
406 |
|
407 |
def generate_summarise(df_string):
|
|
|
402 |
return summary_json
|
403 |
except Exception as e:
|
404 |
error_msg = f" {video_id} 摘要錯誤: {str(e)}"
|
405 |
+
print("===get_video_id_summary error===")
|
406 |
+
print(error_msg)
|
407 |
raise gr.Error(error_msg)
|
408 |
|
409 |
def generate_summarise(df_string):
|