Spaces:
Running
Running
from flask import Flask, request, jsonify, render_template_string | |
from flask_cors import CORS | |
Flaskapp = Flask(__name__) | |
CORS(Flaskapp) | |
def tts(): | |
return render_template_string(""" | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>TTS API Documentation</title> | |
</head> | |
<body> | |
<iframe src="https://mahiruoshi-mygo-vits-bert.hf.space" style="width:100%; height:100vh; border:none;"></iframe> | |
</body> | |
</html> | |
""") | |
if __name__ == "__main__": | |
Flaskapp.run(host="0.0.0.0", port=7860,debug=True) |