NeeravS commited on
Commit
94f8f48
·
verified ·
1 Parent(s): 8cb4ac6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -74,8 +74,8 @@ analyzer = backend.DeepfakeAnalyzer()
74
  @spaces.GPU(duration=1000)
75
  def analyze_video(video_file):
76
  if access_key != ACCESS_KEY:
77
- logging.error("Invalid access key provided.")
78
- return {"error": "Unauthorized access. Invalid access key."}
79
 
80
  try:
81
  truncated_video = truncate_video(video_file)
 
74
  @spaces.GPU(duration=1000)
75
  def analyze_video(video_file):
76
  if access_key != ACCESS_KEY:
77
+ logging.error("Invalid access key provided.")
78
+ return {"error": "Unauthorized access. Invalid access key."}
79
 
80
  try:
81
  truncated_video = truncate_video(video_file)