NeeravS commited on
Commit
82731b4
·
verified ·
1 Parent(s): 6b0bbb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
5
  import logging
6
  #from moviepy.editor import VideoFileClip
7
  import torch
8
- import spaces
9
 
10
  ACCESS_KEY = os.getenv("ACCESS_KEY")
11
 
@@ -69,7 +69,7 @@ clone_repo()
69
  backend = import_backend_script("app.py")
70
  analyzer = backend.DeepfakeAnalyzer()
71
 
72
- @spaces.GPU(duration=3000)
73
  def analyze_video(video_file):
74
  if ACCESS_KEY is None:
75
  logging.error("Access key not set in environment variables.")
 
5
  import logging
6
  #from moviepy.editor import VideoFileClip
7
  import torch
8
+ #import spaces
9
 
10
  ACCESS_KEY = os.getenv("ACCESS_KEY")
11
 
 
69
  backend = import_backend_script("app.py")
70
  analyzer = backend.DeepfakeAnalyzer()
71
 
72
+ #@spaces.GPU(duration=3000)
73
  def analyze_video(video_file):
74
  if ACCESS_KEY is None:
75
  logging.error("Access key not set in environment variables.")