Delete shark_web directory

This commit is contained in:
powderluv
2022-09-14 06:38:30 -07:00
committed by GitHub
parent 8d4d543a49
commit cfd9733c2b

View File

@@ -1,19 +0,0 @@
from models.resnet50 import resnet_inf
from models.albert_maskfill import albert_maskfill_inf
import gradio as gr
shark_web = gr.Blocks()
with shark_web:
image = gr.Image()
label1 = gr.Label()
resnet = gr.Button("Recognize Image")
text = gr.Textbox()
label2 = gr.Label()
albert_mask = gr.Button("Decode Mask")
resnet.click(resnet_inf, inputs=image, outputs=label1)
albert_mask.click(albert_maskfill_inf, inputs=text, outputs=label2)
shark_web.launch(share=True)