Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,4 +1,12 @@
|
|
| 1 |
-
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from sufast import App
|
| 2 |
|
| 3 |
+
app = App()
|
| 4 |
+
|
| 5 |
+
@app.get("/")
|
| 6 |
+
def hello():
|
| 7 |
+
return {"message": "Hello from Sufast 👋"}
|
| 8 |
+
@app.get("/shohan")
|
| 9 |
+
def hello():
|
| 10 |
+
return {"message": "Hello from shohan Buddy 👋"}
|
| 11 |
+
|
| 12 |
+
app.run(production=True)
|