Spaces:
Runtime error
Runtime error
import gradio as gr | |
import tensorflow as tf | |
from huggingface_hub import from_pretrained_keras | |
model = from_pretrained_keras("SBB/sbb_binarization") | |
print(model.summary()) | |
def greet(name): | |
return "Hello " + name + "!!" | |
iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
iface.launch() | |