File size: 254 Bytes
525f3dd
e3cece8
 
5b0a672
 
 
 
525f3dd
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr
import tensorflow as tf

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()