Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| from prepars.spacing import Spacing | |
| def greet(input): | |
| return Spacing().fix(input) | |
| demo = gr.Interface( | |
| fn=greet, | |
| inputs=gr.Textbox(lines=2, placeholder="متن خود را وارد نمایید ... "), | |
| outputs="text", | |
| ) | |
| demo.launch() |