abidlabs HF Staff commited on
Commit
c5b93e2
·
verified ·
1 Parent(s): 5be3e23

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ poem = """
4
+ Gradio 5, a leap ahead,
5
+ Production-ready, quick to spread.
6
+ Secure and strong, no task too vast,
7
+ The future’s here—efficient, fast.
8
+ """
9
+
10
+ gr.ChatInterface(
11
+ lambda x,y:x,
12
+ chatbot=gr.Chatbot(value=[("Write a short poem about Gradio 5", poem)])
13
+ ).launch()