Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,6 @@ import glob
|
|
8 |
model = YOLO('Dental_model.pt')
|
9 |
pic_files = glob.glob('*.jpg')
|
10 |
names = model.model.names
|
11 |
-
cloud_sdk = '<iframe src="https://cloudhand-sdk-lmpc.vercel.app/" width="100%" height="600px" style="border:none;"></iframe>'
|
12 |
|
13 |
def detect_objects(image):
|
14 |
image1 = image.copy()
|
@@ -41,7 +40,6 @@ with gr.Blocks() as demo:
|
|
41 |
with gr.Column():
|
42 |
image_output_1 = gr.Image(type="pil", label="Dental Analysis")
|
43 |
image_output_2 = gr.Image(type="pil", label="Without Labels")
|
44 |
-
html_output = gr.HTML(cloud_sdk)
|
45 |
|
46 |
run_button.click(fn=detect_objects,
|
47 |
inputs=image_input,
|
|
|
8 |
model = YOLO('Dental_model.pt')
|
9 |
pic_files = glob.glob('*.jpg')
|
10 |
names = model.model.names
|
|
|
11 |
|
12 |
def detect_objects(image):
|
13 |
image1 = image.copy()
|
|
|
40 |
with gr.Column():
|
41 |
image_output_1 = gr.Image(type="pil", label="Dental Analysis")
|
42 |
image_output_2 = gr.Image(type="pil", label="Without Labels")
|
|
|
43 |
|
44 |
run_button.click(fn=detect_objects,
|
45 |
inputs=image_input,
|