Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,14 @@ def greet(name):
|
|
5 |
|
6 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
def speclab(img):
|
10 |
|
|
|
5 |
|
6 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
|
8 |
+
from urllib.request import urlretrieve
|
9 |
+
|
10 |
+
# get image examples from github
|
11 |
+
urlretrieve("https://github.com/SamDaaLamb/ValorantTracker/blob/main/clip2_-1450-_jpg.jpg?raw=true", "clip2_-1450-_jpg.jpg") # make sure to use "copy image address when copying image from Github"
|
12 |
+
urlretrieve("https://github.com/SamDaaLamb/ValorantTracker/blob/main/clip2_-1450-_jpg.jpg?raw=true", "clip2_-1450-_jpg.jpg")
|
13 |
+
examples = [ # need to manually delete cache everytime new examples are added
|
14 |
+
['05829.png'],
|
15 |
+
["10384.png"]
|
16 |
|
17 |
def speclab(img):
|
18 |
|