Brain-segmentation / deploy.py
Andreas-w's picture
Create deploy.py
b8f7e8e
raw
history blame
299 Bytes
import numpy as np
import gradio as gr
def funksjon(input_img):
#Må inporterer modellen fra API på huggingface.co
#imgPred = model.fit(input_img)
imgPred = input_img
return imgPred
demo = gr.Interface(funksjon, gr.Image(), "image")
#demo.launch(share=True)
demo.launch()