ZiyuG commited on
Commit
277fdec
1 Parent(s): 0a7c7f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from evaluate import eval, install
3
  from datetime import datetime
4
- import os, shutil #, spaces
5
  import warnings, tempfile
6
  from audio import gen_audio
7
  warnings.filterwarnings("ignore")
@@ -44,7 +44,7 @@ jsons = {
44
  def get_video_url(option):
45
  return videos[option]
46
 
47
- # @spaces.GPU()
48
  def evaluate_sign_language(user_video, standard_video_option):
49
  tmp = tempfile.TemporaryDirectory()
50
  tmpdir = tmp.name
 
1
  import gradio as gr
2
  from evaluate import eval, install
3
  from datetime import datetime
4
+ import os, shutil, spaces
5
  import warnings, tempfile
6
  from audio import gen_audio
7
  warnings.filterwarnings("ignore")
 
44
  def get_video_url(option):
45
  return videos[option]
46
 
47
+ @spaces.GPU()
48
  def evaluate_sign_language(user_video, standard_video_option):
49
  tmp = tempfile.TemporaryDirectory()
50
  tmpdir = tmp.name