Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,8 @@ import traceback
|
|
| 9 |
import json
|
| 10 |
import ast
|
| 11 |
import re
|
|
|
|
|
|
|
| 12 |
|
| 13 |
app = Flask(__name__)
|
| 14 |
CORS(app) # Enable CORS for all routes
|
|
@@ -23,8 +25,7 @@ os.makedirs(TEMP_DIR, exist_ok=True)
|
|
| 23 |
# API Key for security (optional)
|
| 24 |
API_KEY = "rkmentormindzofficaltokenkey12345"
|
| 25 |
|
| 26 |
-
|
| 27 |
-
from manim import *
|
| 28 |
|
| 29 |
def make_wrapped_paragraph(content, max_width, color, font, font_size, line_spacing, align_left=True):
|
| 30 |
"""
|
|
|
|
| 9 |
import json
|
| 10 |
import ast
|
| 11 |
import re
|
| 12 |
+
import textwrap
|
| 13 |
+
from manim import *
|
| 14 |
|
| 15 |
app = Flask(__name__)
|
| 16 |
CORS(app) # Enable CORS for all routes
|
|
|
|
| 25 |
# API Key for security (optional)
|
| 26 |
API_KEY = "rkmentormindzofficaltokenkey12345"
|
| 27 |
|
| 28 |
+
|
|
|
|
| 29 |
|
| 30 |
def make_wrapped_paragraph(content, max_width, color, font, font_size, line_spacing, align_left=True):
|
| 31 |
"""
|