mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 15:36:08 +00:00
Update subgen.py
This commit is contained in:
1 parent
52f42556c2
commit
942c11bc0e
1 file changed
+8
@@ -26,6 +26,14 @@ packages_to_install = [
|
||||
# Add more packages as needed
|
||||
]
|
||||
|
||||
for package in packages_to_install:
|
||||
print(f"Installing {package}...")
|
||||
try:
|
||||
subprocess.run(['pip3', 'install', package], check=True)
|
||||
print(f"{package} has been successfully installed.")
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(f"Failed to install {package}: {e}")
|
||||
|
||||
from fastapi import FastAPI, File, UploadFile, Query, Header, Body, Form, Request
|
||||
from fastapi.responses import StreamingResponse, RedirectResponse
|
||||
import numpy as np
|
||||
|
||||
Reference in new issue
Block a user