MihailKilovatii commited on
Commit
9e9d609
·
verified ·
1 Parent(s): fda1b6e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def chat(message):
4
+ return f"Hello {message}! This app was created by Mihail."
5
+
6
+ demo = gr.Interface(
7
+ fn=chat,
8
+ inputs=gr.Textbox(label="Enter your question"),
9
+ outputs=gr.Textbox(label="AI Response"),
10
+ title="Book Sales Analyst",
11
+ description="Ask a question and get a response (Demo app by Mihail)"
12
+ )
13
+
14
+ demo.launch()