Skip to content

Commit

Permalink
no box
Browse files Browse the repository at this point in the history
  • Loading branch information
camenduru authored Feb 4, 2023
1 parent ffd68ce commit af03b95
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions scripts/huggingface.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,18 +100,18 @@ def on_ui_tabs():
with gr.Row().style(equal_height=True):
btn_push_file = gr.Button("Push File To 🤗")
btn_push_file.click(push_file, inputs=[text_file_from, text_file_to, text_file_name, text_file_branch, text_file_token], outputs=out_file)
gr.Markdown(
"""
### 🦒 Colab Run Command
```py
model: wget https://huggingface.co/ckpt/anything-v4.5-vae-swapped/resolve/main/anything-v4.5-vae-swapped.safetensors -O /content/stable-diffusion-webui/models/Stable-diffusion/anything-v4.5-vae-swapped.safetensors
lora: wget https://huggingface.co/embed/Sakimi-Chan_LoRA/resolve/main/Sakimi-Chan_LoRA.safetensors -O /content/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/lora/Sakimi-Chan_LoRA.safetensors
embed: wget https://huggingface.co/embed/EasyNegative/resolve/main/EasyNegative.safetensors -O /content/stable-diffusion-webui/embeddings/EasyNegative.safetensors
zip outputs folder: zip -r /content/outputs.zip /content/stable-diffusion-webui/outputs
```
""")
with gr.Group():
with gr.Box():
gr.Markdown(
"""
### 🦒 Colab Run Command
```py
model: wget https://huggingface.co/ckpt/anything-v4.5-vae-swapped/resolve/main/anything-v4.5-vae-swapped.safetensors -O /content/stable-diffusion-webui/models/Stable-diffusion/anything-v4.5-vae-swapped.safetensors
lora: wget https://huggingface.co/embed/Sakimi-Chan_LoRA/resolve/main/Sakimi-Chan_LoRA.safetensors -O /content/stable-diffusion-webui/extensions/sd-webui-additional-networks/models/lora/Sakimi-Chan_LoRA.safetensors
embed: wget https://huggingface.co/embed/EasyNegative/resolve/main/EasyNegative.safetensors -O /content/stable-diffusion-webui/embeddings/EasyNegative.safetensors
zip outputs folder: zip -r /content/outputs.zip /content/stable-diffusion-webui/outputs
```
""")
command = gr.Textbox(show_label=False, max_lines=1, placeholder="command")
out_text = gr.Textbox(show_label=False)
btn_run = gr.Button("run command")
Expand Down

0 comments on commit af03b95

Please sign in to comment.