Fixed path issues for HF deployments
This commit is contained in:
6
run.py
6
run.py
@@ -1,3 +1,9 @@
|
|||||||
|
import os
|
||||||
|
import sys
|
||||||
|
|
||||||
|
# Add the src directory to Python path
|
||||||
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
|
||||||
|
|
||||||
from fastapi import FastAPI
|
from fastapi import FastAPI
|
||||||
from src.stream_link_server import app as streamlink_server_app
|
from src.stream_link_server import app as streamlink_server_app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user