Spaces:
No application file
No application file
Add application file
Browse files
app.py
CHANGED
|
@@ -2,9 +2,6 @@ from fastapi import FastAPI
|
|
| 2 |
|
| 3 |
app = FastAPI()
|
| 4 |
|
| 5 |
-
@app.get("/
|
| 6 |
-
def
|
| 7 |
-
"""
|
| 8 |
-
This Test Hello
|
| 9 |
-
"""
|
| 10 |
-
return {"Hello":"You succefully deploy youtube"}
|
|
|
|
| 2 |
|
| 3 |
app = FastAPI()
|
| 4 |
|
| 5 |
+
@app.get("/")
|
| 6 |
+
def greet_json():
|
| 7 |
+
return {"Hello": "World!"}
|
|
|
|
|
|
|
|
|