felixrosberg's picture
Create app.py
fa6525c verified
raw
history blame
403 Bytes
from huggingface_hub import Repository
import gradio as gr
token = os.environ['model_fetch']
anonymizer_repo = Repository(local_dir="pipeline", clone_from="felixrosberg/EngageStudiosAutomotiveLoRA", use_auth_token=token)
from pipeline.sdxl_engage_lora_gradio_UI_class import EngageUI
ui = EngageUI()
ui.run_ui(lora_path: str = "pipeline/LoRA/sd-car-1024-finetuned-lora-rank-128-v8/checkpoint-18000")