ai-tomoni commited on
Commit
4e8fb00
·
verified ·
1 Parent(s): cf208cf

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def simple_chat(message, history):
4
+ return history + [[message, f"Echo: {message}"]]
5
+
6
+ demo = gr.ChatInterface(
7
+ fn=simple_chat,
8
+ title="Test App",
9
+ description="Gradio 5.x Test"
10
+ )
11
+
12
+ demo.launch()