path corrected for word_addin

This commit is contained in:
erew123 authored and GitHub committed 2024-01-03 10:50:22 +00:00
1 parent e183e3a7bb
commit e9feae12ad
1 file changed
+1 -1
+1 -1
View File
@@ -1057,7 +1057,7 @@ async def tts_generate(
#### Word Add-in Sharing ####
#############################
# Mount the static files from the 'word_addin' directory
app.mount('/api/word_addin', StaticFiles(directory='templates/word_addin'), name='word_addin')
app.mount("/api/word_addin", StaticFiles(directory=os.path.join(this_dir / 'templates' / 'word_addin')), name="word_addin")
###################################################
#### Webserver Startup & Initial model Loading ####