Update app.py
Browse files
app.py
CHANGED
|
@@ -222,7 +222,7 @@ def translate_text(text_prompt, target_language):
|
|
| 222 |
|
| 223 |
|
| 224 |
@app.route("/run", methods=['POST'])
|
| 225 |
-
|
| 226 |
global TEMP_DIR
|
| 227 |
TEMP_DIR = create_temp_dir()
|
| 228 |
print('request:',request.method)
|
|
|
|
| 222 |
|
| 223 |
|
| 224 |
@app.route("/run", methods=['POST'])
|
| 225 |
+
def generate_video():
|
| 226 |
global TEMP_DIR
|
| 227 |
TEMP_DIR = create_temp_dir()
|
| 228 |
print('request:',request.method)
|