Spaces:
Running
on
Zero
Running
on
Zero
wondervictor
commited on
Update app.py
Browse files
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
|
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("
|
70 |
-
|
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)
|