Spaces:
Sleeping
Sleeping
Kaelan
commited on
Commit
·
b1db112
1
Parent(s):
321ad01
target = blank
Browse files- main.py +1 -15
- src/App.js +1 -1
main.py
CHANGED
@@ -4,8 +4,7 @@ from werkzeug.utils import secure_filename
|
|
4 |
|
5 |
from super_gradients.training import models
|
6 |
from deep_sort_torch.deep_sort.deep_sort import DeepSort
|
7 |
-
|
8 |
-
from super_gradients.training.processing import ComposeProcessing
|
9 |
import torch
|
10 |
|
11 |
from model_tools import vid_predict, img_predict
|
@@ -13,19 +12,6 @@ from dotenv import load_dotenv
|
|
13 |
import os
|
14 |
import urllib.request
|
15 |
|
16 |
-
myhost = os.uname()[1]
|
17 |
-
import socket
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
# Get the fully qualified domain name
|
22 |
-
|
23 |
-
fqdn = socket.getfqdn()
|
24 |
-
|
25 |
-
print("Fully qualified domain name of this computer is:");
|
26 |
-
|
27 |
-
print(fqdn)
|
28 |
-
|
29 |
load_dotenv()
|
30 |
secret_key = os.getenv("secret_key")
|
31 |
|
|
|
4 |
|
5 |
from super_gradients.training import models
|
6 |
from deep_sort_torch.deep_sort.deep_sort import DeepSort
|
7 |
+
|
|
|
8 |
import torch
|
9 |
|
10 |
from model_tools import vid_predict, img_predict
|
|
|
12 |
import os
|
13 |
import urllib.request
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
load_dotenv()
|
16 |
secret_key = os.getenv("secret_key")
|
17 |
|
src/App.js
CHANGED
@@ -79,7 +79,7 @@ function App() {
|
|
79 |
<div class="mb-3">
|
80 |
|
81 |
<label for="formFile" class="form-label">Upload Image or Video to preview: Max(20mb/file)</label>
|
82 |
-
<a href="https://drive.google.com/drive/folders/1Gslj0uO2CeLXsO9EhjJ0OepWWpyWb6yO?usp=sharing">Sample Pics to download</a>
|
83 |
<input class="form-control" type='file' id="formFile" accepts='image/*, video/*' capture='camera' name='media'
|
84 |
onChange={uploadImage}/>
|
85 |
|
|
|
79 |
<div class="mb-3">
|
80 |
|
81 |
<label for="formFile" class="form-label">Upload Image or Video to preview: Max(20mb/file)</label>
|
82 |
+
<a href="https://drive.google.com/drive/folders/1Gslj0uO2CeLXsO9EhjJ0OepWWpyWb6yO?usp=sharing" target="_blank">Sample Pics to download</a>
|
83 |
<input class="form-control" type='file' id="formFile" accepts='image/*, video/*' capture='camera' name='media'
|
84 |
onChange={uploadImage}/>
|
85 |
|