mirror of
https://github.com/babysor/MockingBird.git
synced 2024-03-22 13:11:31 +08:00
0d0b55d3e9
* Init App * init server.py (#93) * init server.py * Update requirements.txt Add requirement Co-authored-by: auau <auau@test.com> Co-authored-by: babysor00 <babysor00@gmail.com> * Run web.py! Run web.py! * Restruct readme and add instruction to use web server * fix training preprocess of vocoder * Init App * init server.py (#93) * init server.py * Update requirements.txt Add requirement Co-authored-by: auau <auau@test.com> Co-authored-by: babysor00 <babysor00@gmail.com> * Run web.py! Run web.py! * fix training preprocess of vocoder * Refactor to restful style Co-authored-by: balala <Ozgay@users.noreply.github.com> Co-authored-by: auau <auau@test.com>
15 lines
284 B
Python
15 lines
284 B
Python
from flask import Blueprint
|
|
from flask_restx import Api
|
|
from .audio import api as audio
|
|
|
|
api_blueprint = Blueprint('api', __name__, url_prefix='/api')
|
|
|
|
api = Api(
|
|
app=api_blueprint,
|
|
title='Mocking Bird',
|
|
version='1.0',
|
|
description='My API'
|
|
)
|
|
|
|
api.add_namespace(audio)
|