Create app.py
Browse files
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()
|