simplechatbot / app.py
sdgzero2ai's picture
Update app.py
5f89a9f verified
raw
history blame contribute delete
193 Bytes
import gradio as gr
def test(input_text):
return f"Your text was: {input_text}"
demo = gr.Interface(fn=test, inputs="text", outputs="text")
if __name__ == "__main__":
demo.launch()