felixrosberg's picture
Update app.py
9f7e2d7 verified
raw
history blame
417 Bytes
from huggingface_hub import Repository
import gradio as gr
import os
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(lora_path="pipeline/LoRA/sd-midjourney-car-1024-finetuned-lora-rank-128-v8/checkpoint-18000")
ui.run_ui()