Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
THARUNESHWAR-369 committed Apr 12, 2024
1 parent 5f2b4d2 commit c4351ad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
23 changes: 12 additions & 11 deletions app.py
Original file line number Diff line number Diff line change
@@ -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 = "<Your Key>"
# app = Flask(__name__)
# app.secret_key = "<Your 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)
4 changes: 0 additions & 4 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
{
"src": "app.py",
"use": "@vercel/python"
},
{
"src": "static/**",
"use": "@vercel/static"
}
],
"routes": [
Expand Down

0 comments on commit c4351ad

Please sign in to comment.