mirror of
https://github.com/imrayya/stable-diffusion-webui-Prompt_Generator.git
synced 2024-01-11 09:00:44 +01:00
5 lines
255 B
Python
5 lines
255 B
Python
import launch
|
|
if not launch.is_installed("transformers"):
|
|
launch.run_pip("install --upgrade transformers", "Requirement of Prompt-Maker")
|
|
if not launch.is_installed("torch"):
|
|
launch.run_pip("install --upgrade torch", "Requirement of Prompt-Maker") |