my-second-app / app.py
marium-a's picture
Create app.py
43fe3a2 verified
Raw
History Blame Contribute Delete
308 Bytes
import gradio as gr
def respond(message, history):
return f"You said: {message}\nAnd I love learning AI Engineering with SuperDataScience!"
# Hugging Face containers require the app to run on server port 7860 and host 0.0.0.0
gr.ChatInterface(fn=respond).launch(server_name="0.0.0.0", server_port=7860)