Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Projetweb
/
Ai-prject
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
ikraamkb
commited on
18 days ago
Commit
4795656
·
verified
·
1 Parent(s):
a64c97a
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
from fastapi import FastAPI
2
+
3
+
app = FastAPI()
4
+
5
+
@app.get("/")
6
+
def home():
7
+
return {"message": "Hello, FastAPI on Hugging Face!"}