Spaces:
Sleeping
Sleeping
import gradio as gr | |
import model | |
def encode(text): | |
return model.encode(text) | |
iface = gr.Interface(fn=encode, inputs="text", outputs="text") | |
iface.launch() |