Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -1,15 +1,7 @@
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
-
import uvicorn
|
| 3 |
-
|
| 4 |
|
| 5 |
app = FastAPI()
|
| 6 |
-
defaul_bot_voice = "γγ―γγγγγγγΎγ"
|
| 7 |
-
area_thres = 0.3
|
| 8 |
|
| 9 |
|
| 10 |
-
@app.get("/")
|
| 11 |
def read_root():
|
| 12 |
-
return {"
|
| 13 |
-
|
| 14 |
-
if __name__ == "__main__":
|
| 15 |
-
uvicorn.run("main:app", host="0.0.0.0", port=7860)
|
|
|
|
| 1 |
from fastapi import FastAPI
|
|
|
|
|
|
|
| 2 |
|
| 3 |
app = FastAPI()
|
|
|
|
|
|
|
| 4 |
|
| 5 |
|
|
|
|
| 6 |
def read_root():
|
| 7 |
+
return {"Hello": "World!"}
|
|
|
|
|
|
|
|
|