NeueSpace / app.py
Jabka's picture
Update app.py
5c3c45b
raw
history blame contribute delete
305 Bytes
import numpy as np
import gradio as gr
from tensorflow import keras
from huggingface_hub import from_pretrained_keras
model = from_pretrained_keras("my_model")
def greet(img):
img = np.expand_dims(img, axis = 0)
demo = gr.Interface(fn = greet , inputs = 'sketchpad', outputs = 'text')
demo.launch()