Gregniuki commited on
Commit
9314d00
·
verified ·
1 Parent(s): 22e294e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,6 +1,5 @@
1
  import re
2
- import torch
3
- import torchaudio
4
  import gradio as gr
5
  import numpy as np
6
  import tempfile
@@ -37,7 +36,8 @@ def gpu_decorator(func):
37
  return spaces.GPU(func)
38
  else:
39
  return func
40
-
 
41
  # Determine the device
42
  device = (
43
  "cuda"
 
1
  import re
2
+
 
3
  import gradio as gr
4
  import numpy as np
5
  import tempfile
 
36
  return spaces.GPU(func)
37
  else:
38
  return func
39
+ import torch
40
+ import torchaudio
41
  # Determine the device
42
  device = (
43
  "cuda"