Spaces:
Running
Running
Create app.py
Browse files
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)
|