youngtsai commited on
Commit
3ef16c9
1 Parent(s): 75ac158

print("===get_video_id_summary error===")

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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):