Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,8 @@ import gradio as gr
|
|
| 6 |
# Retrieve the token from Hugging Face secrets
|
| 7 |
token = os.getenv("HUGGINGFACE_TOKEN")
|
| 8 |
|
|
|
|
|
|
|
| 9 |
# Authenticate with the Hugging Face token
|
| 10 |
model = StableDiffusionPipeline.from_pretrained(
|
| 11 |
"stabilityai/stable-diffusion-3.5-medium",
|
|
|
|
| 6 |
# Retrieve the token from Hugging Face secrets
|
| 7 |
token = os.getenv("HUGGINGFACE_TOKEN")
|
| 8 |
|
| 9 |
+
print(f"Using Hugging Face Token: {os.getenv('HUGGINGFACE_TOKEN')}")
|
| 10 |
+
|
| 11 |
# Authenticate with the Hugging Face token
|
| 12 |
model = StableDiffusionPipeline.from_pretrained(
|
| 13 |
"stabilityai/stable-diffusion-3.5-medium",
|