Manofem commited on
Commit
fee252b
·
verified ·
1 Parent(s): 60defdb

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def text_streaming(input_text):
4
+ # Process the input text (you can replace this with your logic)
5
+ output_text = f"You entered: {input_text}"
6
+ return output_text
7
+
8
+ iface = gr.Interface(fn=text_streaming, inputs="text", outputs="text", live=True)
9
+ iface.launch()