Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
import os
|
4 |
os.environ["TORCH_CUDNN_SDPA_ENABLED"] = "1"
|
5 |
import torch
|
|
|
6 |
import numpy as np
|
7 |
import cv2
|
8 |
import matplotlib.pyplot as plt
|
|
|
1 |
import gradio as gr
|
2 |
+
|
3 |
import os
|
4 |
os.environ["TORCH_CUDNN_SDPA_ENABLED"] = "1"
|
5 |
import torch
|
6 |
+
import spaces
|
7 |
import numpy as np
|
8 |
import cv2
|
9 |
import matplotlib.pyplot as plt
|