marium-a commited on
Commit
43fe3a2
·
verified ·
1 Parent(s): 4e422e8

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def respond(message, history):
4
+ return f"You said: {message}\nAnd I love learning AI Engineering with SuperDataScience!"
5
+
6
+ # Hugging Face containers require the app to run on server port 7860 and host 0.0.0.0
7
+ gr.ChatInterface(fn=respond).launch(server_name="0.0.0.0", server_port=7860)