Spaces:
Sleeping
Sleeping
Lakpriya Seneviratna
commited on
Commit
·
adc97bd
1
Parent(s):
23572f9
chore: Add endpoint for TikTok verification code
Browse files
app.py
CHANGED
@@ -519,8 +519,14 @@ app.add_middleware(
|
|
519 |
|
520 |
@app.get("/", tags=["home"])
|
521 |
def api_home():
|
|
|
|
|
|
|
|
|
522 |
return "tiktok-developers-site-verification=pKoa6IinAzrf27VzPpj3m9188EinPgU5"
|
523 |
|
|
|
|
|
524 |
@app.get("/generate_video")
|
525 |
def generate_video():
|
526 |
try:
|
|
|
519 |
|
520 |
@app.get("/", tags=["home"])
|
521 |
def api_home():
|
522 |
+
return {'detail': 'Welcome to VideoGen!'}
|
523 |
+
|
524 |
+
@app.get("/tiktokEGiU9uygNn8tx9xkjWJOFxpWpGg3pPOZ.txt")
|
525 |
+
def api_tick():
|
526 |
return "tiktok-developers-site-verification=pKoa6IinAzrf27VzPpj3m9188EinPgU5"
|
527 |
|
528 |
+
|
529 |
+
|
530 |
@app.get("/generate_video")
|
531 |
def generate_video():
|
532 |
try:
|