Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Standard Libraries
|
2 |
import time
|
3 |
from io import BytesIO
|
@@ -16,10 +21,6 @@ from ultralytics import YOLO
|
|
16 |
# Text and Data Manipulation
|
17 |
import difflib
|
18 |
|
19 |
-
# UI and Application Framework
|
20 |
-
import gradio as gr
|
21 |
-
import spaces
|
22 |
-
|
23 |
|
24 |
# Constants
|
25 |
DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
|
|
|
1 |
+
# UI and Application Framework
|
2 |
+
import gradio as gr
|
3 |
+
import spaces
|
4 |
+
|
5 |
+
|
6 |
# Standard Libraries
|
7 |
import time
|
8 |
from io import BytesIO
|
|
|
21 |
# Text and Data Manipulation
|
22 |
import difflib
|
23 |
|
|
|
|
|
|
|
|
|
24 |
|
25 |
# Constants
|
26 |
DEVICE = 'cuda' if torch.cuda.is_available() else 'cpu'
|