Spaces:
Paused
Paused
Abid
commited on
Commit
•
a83472e
1
Parent(s):
4e99e6b
password changed
Browse files- app/app_savta.py +4 -4
app/app_savta.py
CHANGED
@@ -10,8 +10,8 @@ examples = [
|
|
10 |
["examples/00008.jpg"],
|
11 |
["examples/00045.jpg"],
|
12 |
]
|
13 |
-
favicon =
|
14 |
-
thumbnail =
|
15 |
|
16 |
def sepia(input_img):
|
17 |
sepia_filter = np.array(
|
@@ -22,6 +22,6 @@ def sepia(input_img):
|
|
22 |
return sepia_img
|
23 |
|
24 |
|
25 |
-
iface = gr.Interface(sepia, gr.inputs.Image(shape=(200, 200)), "image", title = title, description = description, article = article, examples = examples,theme ="peach")
|
26 |
|
27 |
-
iface.launch(favicon_path=favicon,auth=("admin", "
|
|
|
10 |
["examples/00008.jpg"],
|
11 |
["examples/00045.jpg"],
|
12 |
]
|
13 |
+
favicon = "examples/favicon.ico"
|
14 |
+
thumbnail = "examples/SavtaDepth.png"
|
15 |
|
16 |
def sepia(input_img):
|
17 |
sepia_filter = np.array(
|
|
|
22 |
return sepia_img
|
23 |
|
24 |
|
25 |
+
iface = gr.Interface(sepia, gr.inputs.Image(shape=(200, 200)), "image", title = title, description = description, article = article, examples = examples,theme ="peach",thumbnail=thumbnail)
|
26 |
|
27 |
+
iface.launch(favicon_path=favicon,auth=("admin", "dagshubsota123")) # enable_queue=True,auth=("admin", "pass1234")
|