ayanDataleads commited on
Commit
6201c6d
·
1 Parent(s): 3d60d11

Program_Flask.py

Browse files
Files changed (1) hide show
  1. Program_Flask.py +1 -1
Program_Flask.py CHANGED
@@ -169,6 +169,6 @@ def Analyze(video_link):
169
 
170
  return {'title': video_title, 'url': video_url, 'len': video.length, 'lang': result['language'], 'summary': summary, 'sentiment': sentiment, 'foo': foo, 'hate': presence_of_hate, 'explanation': exp, 'degree': hate_degree, 'part': part_which_contains_hate, 'transcript': input_text}
171
  except Exception as e:
172
- print(f"An error occured: {str(e)}")
173
 
174
 
 
169
 
170
  return {'title': video_title, 'url': video_url, 'len': video.length, 'lang': result['language'], 'summary': summary, 'sentiment': sentiment, 'foo': foo, 'hate': presence_of_hate, 'explanation': exp, 'degree': hate_degree, 'part': part_which_contains_hate, 'transcript': input_text}
171
  except Exception as e:
172
+ print(f"An error occured: Unable to process")
173
 
174