Fetching metadata from the HF Docker repository... 15 days ago
-
Upload cairoplay.ttf
25 days ago
-
Update app.py
-
Update Nmath.py
-
raising runtime limit to 5 min
-
added ArTex class
-
Rename math/NAxes.py to Nmath.py
-
Upload diwan.ttf
-
Update app.py
-
fix python modular error
TypeError: 'module' object is not callable
-
Rename math/ArMathTex.py to math/Arabic.py
-
Update app.py
-
Rename Nagwa/math/NAxes.py to math/NAxes.py
-
Rename Nagwa/math/ArMathTex.py to math/ArMathTex.py
-
Create ArMathTex.py
-
added Nagwa.math library to template
-
changed hello world background to white
-
Update app.py
-
Update app.py
-
Update app.py
-
Update app.py
-
Update app.py
-
Update app.py
-
update after upload comment
-
update upload button 2
-
update upload button to take less space
-
update interface
-
Update app.py
-
clear cache every hour
-
update class title
-
add class made by Moaz
-
Upload Nagwa/math/NAxes.py
-
Update app.py
-
Update app.py
-
Update app.py
-
Update app.py
-
Rest to defaults
-
fix aspect ratio 3:4 p2
-
changed aspect ratio to 3:4
-
Update ar_Tex_mobject.py
-
Update ar_Tex_mobject.py
-
Update ar_Tex_mobject.py
-
Update ar_Tex_mobject.py
-
fix ar_Tex object for white background
-
fix arabic square root
-
Create ar_Tex_mobject.py
-
Update packages.txt
-
Update app.py
-
Use amiri font in manim by uploading font in the space and calling it in app.py
use this arabic template:
from manim import *
import os
def get_arabic_template():
myTemplate = TexTemplate()
myTemplate.tex_compiler = "lualatex"
myTemplate.output_format = ".pdf"
myTemplate.add_to_preamble(r'''
\\usepackage{{fontspec}}
\\usepackage{{polyglossia}}
\\setmainlanguage{{arabic}}
\\setmainfont{{Amiri}}[
Path={os.path.dirname(FONT_PATH)}/,
Extension=.ttf,
UprightFont=Amiri-Regular
]
\\newcommand{{\\seen}}{{\\mbox{{\\fontspec[Path={os.path.dirname(FONT_PATH)}/,Extension=.ttf]{{Amiri-Regular}}[Script=Arabic]س}}}}
''')
return myTemplate -
Upload 5 files
-
update to subprocesses.run instead of os.system
os.system("luaotfload-tool --update") — fires and doesn't wait
subprocess.run(...) — fires and waits until fully done