mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 13:35:12 +03:00
11 lines
247 B
Python
11 lines
247 B
Python
from fastapi import APIRouter
|
|
|
|
|
|
class MMVC_Rest_Hello:
|
|
def __init__(self):
|
|
self.router = APIRouter()
|
|
self.router.add_api_route("/api/hello", self.hello, methods=["GET"])
|
|
|
|
def hello(self):
|
|
return {"result": "Index"}
|