Abid commited on
Commit
fad4164
1 Parent(s): 0ecdec8

thumbnail added

Browse files
app/app_savta.py CHANGED
@@ -11,6 +11,7 @@ examples = [
11
  ["examples/00045.jpg"],
12
  ]
13
  favicon = "examples/favicon.png"
 
14
 
15
  def sepia(input_img):
16
  sepia_filter = np.array(
@@ -21,6 +22,6 @@ def sepia(input_img):
21
  return sepia_img
22
 
23
 
24
- iface = gr.Interface(sepia, gr.inputs.Image(shape=(200, 200)), "image", title = title, description = description, article = article, examples = examples, favicon_path=favicon)
25
 
26
- iface.launch(auth=("admin", "pass1234")) # enable_queue=True
 
11
  ["examples/00045.jpg"],
12
  ]
13
  favicon = "examples/favicon.png"
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, thumbnail = thumbnail)
26
 
27
+ iface.launch(auth=("admin", "pass1234"),favicon_path=favicon) # enable_queue=True
examples/SavtaDepth.png ADDED
examples/favicon.png CHANGED