naveenerramilli commited on
Commit
eef42d0
·
verified ·
1 Parent(s): e7cc056

Upload 2 files

Browse files

my first deployment - app.py

Files changed (2) hide show
  1. app.py +8 -0
  2. requirements.txt +1 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def respond(message, history):
4
+ response = f"You said: {message}"
5
+ print("I love learning AI Engineering with SuperDataScience!")
6
+ return response
7
+
8
+ gr.ChatInterface(fn=respond).launch()
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ gradio