wondervictor commited on
Commit
c6196a6
·
verified ·
1 Parent(s): ea29623

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,7 +2,7 @@ from PIL import Image
2
  import gradio as gr
3
  from huggingface_hub import hf_hub_download
4
  from model import Model
5
- from app_canny import create_demo as create_demo_canny
6
  from app_depth import create_demo as create_demo_depth
7
  import os
8
  import torch
@@ -66,8 +66,8 @@ with gr.Blocks(css="style.css") as demo:
66
  with gr.Tabs():
67
  # with gr.TabItem("Depth"):
68
  # create_demo_depth(model.process_depth)
69
- with gr.TabItem("Canny"):
70
- create_demo_canny(model.process_canny)
71
 
72
  if __name__ == "__main__":
73
  demo.launch(share=False)
 
2
  import gradio as gr
3
  from huggingface_hub import hf_hub_download
4
  from model import Model
5
+ from app_edge import create_demo as create_demo_edge
6
  from app_depth import create_demo as create_demo_depth
7
  import os
8
  import torch
 
66
  with gr.Tabs():
67
  # with gr.TabItem("Depth"):
68
  # create_demo_depth(model.process_depth)
69
+ with gr.TabItem("edge"):
70
+ create_demo_edge(model.process_edge)
71
 
72
  if __name__ == "__main__":
73
  demo.launch(share=False)