Spaces:
Running
Running
Update app.py
#5
by
Duskfallcrew
- opened
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: [. 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: [](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")
|