Duskfallcrew commited on
Commit
7fe6466
·
verified ·
1 Parent(s): b5c37ff

Update app.py

Browse files

Added extra gradio and fixed the Kofi Link

Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -415,16 +415,14 @@ with gr.Blocks() as demo:
415
  # Add initial warnings (only once)
416
  gr.Markdown(f"""
417
  ## **⚠️ IMPORTANT WARNINGS ⚠️**
418
- This App is Coded by an LLM partially, and for more information please go here: [Ktiseos Nyx](https://github.com/Ktiseos-Nyx/Sdxl-to-diffusers). The colab edition of this may indeed break AUP. This space is running on CPU and in theory SHOULD work, but may be slow. Earth and Dusk/ Ktiseos Nyx does not have the enterprise budget for ZERO GPU or any gpu sadly! Thank you to the community, John6666 especially for coming to aid when gemini would NOT fix the requirements. Support Ktiseos Nyx & Myself on Ko-fi: [![Ko-fi](https://img.shields.io/badge/Support%20me%20on%20Ko--fi-F16061?logo=ko-fi&logoColor=white&style=flat)](https://ko-fi.com/Z8Z8L4EO)
419
-
420
- **Understanding the 'Model to Load' Input:**
421
 
422
  This field can accept any of the following:
423
  * A Hugging Face model identifier (e.g., `stabilityai/stable-diffusion-xl-base-1.0`).
424
  * A direct URL to a .ckpt or .safetensors model file.
425
- * **Important:** Huggingface direct links need to end as /resolve/main/ and the name of the model after.
426
- """)
427
-
428
  model_to_load = gr.Textbox(label="Model to Load (Checkpoint or Diffusers)", placeholder="Path to model")
429
  with gr.Row():
430
  save_precision_as = gr.Dropdown(
@@ -439,6 +437,7 @@ with gr.Blocks() as demo:
439
  placeholder="e.g., stabilityai/stable-diffusion-xl-base-1.0")
440
 
441
  gr.Markdown("## Hugging Face Hub Configuration")
 
442
  hf_token = gr.Textbox(type="password", label="Hugging Face Token", placeholder="Your Hugging Face write token") #THIS IS NEEDED
443
  with gr.Row():
444
  orgs_name = gr.Textbox(label="Organization Name (Optional)", placeholder="Your organization name")
 
415
  # Add initial warnings (only once)
416
  gr.Markdown(f"""
417
  ## **⚠️ IMPORTANT WARNINGS ⚠️**
418
+ This App is Coded by an LLM partially, and for more information please go here: [Ktiseos Nyx](https://github.com/Ktiseos-Nyx/Sdxl-to-diffusers). The colab edition of this may indeed break AUP. This space is running on CPU and in theory SHOULD work, but may be slow. Earth and Dusk/ Ktiseos Nyx does not have the enterprise budget for ZERO GPU or any gpu sadly! Thank you to the community, John6666 especially for coming to aid when gemini would NOT fix the requirements. Support Ktiseos Nyx & Myself on Ko-fi: [![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Z8Z8L4EO)
419
+ """)
420
+ gr.Markdown(f"""**Understanding the 'Model to Load' Input:**
421
 
422
  This field can accept any of the following:
423
  * A Hugging Face model identifier (e.g., `stabilityai/stable-diffusion-xl-base-1.0`).
424
  * A direct URL to a .ckpt or .safetensors model file.
425
+ * **Important:** Huggingface direct links need to end as /resolve/main/ and the name of the model after.""")
 
 
426
  model_to_load = gr.Textbox(label="Model to Load (Checkpoint or Diffusers)", placeholder="Path to model")
427
  with gr.Row():
428
  save_precision_as = gr.Dropdown(
 
437
  placeholder="e.g., stabilityai/stable-diffusion-xl-base-1.0")
438
 
439
  gr.Markdown("## Hugging Face Hub Configuration")
440
+ gr.Markdown("Your Access Token can be found here:[Token](https://huggingface.co/settings/tokens) **⚠️ IMPORTANT WARNINGS ⚠️** Do not share your token, and with reason you should refresh your token after use for security.")
441
  hf_token = gr.Textbox(type="password", label="Hugging Face Token", placeholder="Your Hugging Face write token") #THIS IS NEEDED
442
  with gr.Row():
443
  orgs_name = gr.Textbox(label="Organization Name (Optional)", placeholder="Your organization name")