Spaces:
Sleeping
Sleeping
import numpy as np | |
import gradio as gr | |
from model import api | |
sign_api = api() | |
def sign(input_img): | |
prediction = sign_api.predict(image) | |
return prediction | |
demo = gr.Interface(sign,inputs=gr.Image(shape=(200, 200)), outputs=gr.Label()) | |
demo.launch() | |