missing from PIL import
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ from PIL import Image
|
|
8 |
import os
|
9 |
from datetime import datetime
|
10 |
import shutil
|
|
|
11 |
|
12 |
# Get your Hugging Face API token
|
13 |
folder = HfFolder()
|
@@ -125,11 +126,10 @@ article = f"""
|
|
125 |
<a href="https://github.com/1e-2" target="_new" rel="ugc"><img src="https://img.shields.io/badge/GitHub-1e--2-green"></a>
|
126 |
<a href="https://www.facebook.com/FFusionAI/" target="_new" rel="ugc"><img src="https://img.shields.io/badge/Facebook-FFusionAI-blue"></a>
|
127 |
<a href="https://civitai.com/models/82039/ffusion-ai-sd-21" target="_new" rel="ugc"><img src="https://img.shields.io/badge/Civitai-FFusionAI-blue"></a>
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
</div>
|
132 |
-
|
133 |
"""
|
134 |
|
135 |
# Create the Gradio interface
|
|
|
8 |
import os
|
9 |
from datetime import datetime
|
10 |
import shutil
|
11 |
+
from PIL import ImageDraw, ImageFont
|
12 |
|
13 |
# Get your Hugging Face API token
|
14 |
folder = HfFolder()
|
|
|
126 |
<a href="https://github.com/1e-2" target="_new" rel="ugc"><img src="https://img.shields.io/badge/GitHub-1e--2-green"></a>
|
127 |
<a href="https://www.facebook.com/FFusionAI/" target="_new" rel="ugc"><img src="https://img.shields.io/badge/Facebook-FFusionAI-blue"></a>
|
128 |
<a href="https://civitai.com/models/82039/ffusion-ai-sd-21" target="_new" rel="ugc"><img src="https://img.shields.io/badge/Civitai-FFusionAI-blue"></a>
|
129 |
+
</div>
|
130 |
+
<a href="mailto:di@ffusion.ai"><img src="https://img.shields.io/badge/Email-di%40ffusion.ai-blue?style=for-the-badge&logo=gmail"></a>
|
131 |
+
<a href="https://huggingface.co/spaces/huggingface-projects/diffusers-gallery?duplicate=true" target="_new" rel="ugc"><img src="https://huggingface.co/datasets/huggingface/badges/raw/main/duplicate-this-space-lg.svg"></a>
|
132 |
</div>
|
|
|
133 |
"""
|
134 |
|
135 |
# Create the Gradio interface
|