Spaces:
Runtime error
Runtime error
Update appDeepseekCoder.py
Browse files- appDeepseekCoder.py +11 -0
appDeepseekCoder.py
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from fastapi import FastAPI
|
| 2 |
+
from chainlit.utils import mount_chainlit
|
| 3 |
+
|
| 4 |
+
app = FastAPI()
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
@app.get("/app")
|
| 8 |
+
def read_main():
|
| 9 |
+
return {"message": "Hello World from main app"}
|
| 10 |
+
|
| 11 |
+
mount_chainlit(app=app, target="app.py", path="/")
|