diff --git a/app.py b/app.py index 3ca5552..830d7c5 100644 --- a/app.py +++ b/app.py @@ -1,24 +1,25 @@ import os from flask import Flask, render_template -from modes.Image.image import image -# from modes.Audio.audio import audio -# from modes.Text.text import text -from modes.Video.video import video +# from modes.Image.image import image +# # from modes.Audio.audio import audio +# # from modes.Text.text import text +# from modes.Video.video import video # ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg'} -app = Flask(__name__) -app.secret_key = "" +# app = Flask(__name__) +# app.secret_key = "" -app.register_blueprint(image, url_prefix="/image") -# app.register_blueprint(audio, url_prefix="/audio") -# app.register_blueprint(text, url_prefix="/text") -app.register_blueprint(video, url_prefix="/video") +# app.register_blueprint(image, url_prefix="/image") +# # app.register_blueprint(audio, url_prefix="/audio") +# # app.register_blueprint(text, url_prefix="/text") +# app.register_blueprint(video, url_prefix="/video") @app.route("/") def home(): - return render_template("home.html") + # return render_template("home.html") + return "Hello" if __name__ == "__main__": app.run(debug=True) \ No newline at end of file diff --git a/vercel.json b/vercel.json index 6c4413e..a1fb3b6 100644 --- a/vercel.json +++ b/vercel.json @@ -3,10 +3,6 @@ { "src": "app.py", "use": "@vercel/python" - }, - { - "src": "static/**", - "use": "@vercel/static" } ], "routes": [