abidlabs HF staff commited on
Commit
56fad84
1 Parent(s): cb4dfa1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -1,3 +1,13 @@
1
  import gradio as gr
2
 
3
- gr.Interface(lambda x:x, "textbox", "textbox").launch(ssr_mode=True)
 
 
 
 
 
 
 
 
 
 
 
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()