Spaces:
Runtime error
Runtime error
File size: 366 Bytes
525f3dd e3cece8 cffbee3 e3cece8 f96306f 5b0a672 525f3dd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import gradio as gr
import tensorflow as tf
from huggingface_hub import from_pretrained_keras
model = from_pretrained_keras("https://huggingface.co/SBB/eynollah-main-regions/blob/main/saved_model/2022-03-14")
print(model.summary())
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()
|