paraphraser-api / app.py
prowriting's picture
Fix tokenizer build errors by installing SentencePiece + tiktoken
d65d045 verified
raw
history blame
144 Bytes
import gradio as gr
def greet(name):
return f"Hello {name}!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()