bep40 commited on
Commit
36266df
·
verified ·
1 Parent(s): 18916d2

Fix: import FileResponse from fastapi directly instead of ai_runtime_final6

Browse files
Files changed (1) hide show
  1. ai_runtime_patch_fast.py +2 -1
ai_runtime_patch_fast.py CHANGED
@@ -1,7 +1,8 @@
1
  """Final patch v6: FIXED short video generation — Vietnamese fonts, robust text splitting, no silent errors."""
2
  import re, threading, time, json, os, asyncio, hashlib, subprocess, requests, sys, logging
3
  import ai_runtime_final6 as f6
4
- from ai_runtime_final6 import app, rt, f5, HTMLResponse, JSONResponse, FileResponse, Request, Query
 
5
  import html as html_lib
6
  from urllib.parse import urlparse
7
  from datetime import datetime, timezone, timedelta
 
1
  """Final patch v6: FIXED short video generation — Vietnamese fonts, robust text splitting, no silent errors."""
2
  import re, threading, time, json, os, asyncio, hashlib, subprocess, requests, sys, logging
3
  import ai_runtime_final6 as f6
4
+ from ai_runtime_final6 import app, rt, f5, HTMLResponse, JSONResponse, Request, Query
5
+ from fastapi.responses import FileResponse
6
  import html as html_lib
7
  from urllib.parse import urlparse
8
  from datetime import datetime, timezone, timedelta