Test / app.py
Manofem's picture
Create app.py
fee252b verified
raw
history blame
288 Bytes
import gradio as gr
def text_streaming(input_text):
# Process the input text (you can replace this with your logic)
output_text = f"You entered: {input_text}"
return output_text
iface = gr.Interface(fn=text_streaming, inputs="text", outputs="text", live=True)
iface.launch()