nevreal commited on
Commit
2f47cf9
1 Parent(s): 85e9bd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -1,3 +1,5 @@
1
  import gradio as gr
2
-
3
- gr.load("models/nevreal/hitori-gotou-s1-ponyxl-lora-nochekaiser").launch()
 
 
 
1
  import gradio as gr
2
+ import os
3
+ repo = "nevreal/hitori-gotou-s1-ponyxl-lora-nochekaiser" # modify this
4
+ demo = gr.load(repo, src="models", hf_token=os.environ.get("HF_TOKEN")).launch()
5
+ demo.launch()