Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,7 @@ import io
|
|
| 9 |
from PIL import Image
|
| 10 |
from pptx import Presentation
|
| 11 |
from pptx.util import Inches, Pt
|
|
|
|
| 12 |
|
| 13 |
API_URL = "https://api-inference.huggingface.co/models/runwayml/stable-diffusion-v1-5"
|
| 14 |
headers = {"Authorization": "Bearer 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"}
|
|
|
|
| 9 |
from PIL import Image
|
| 10 |
from pptx import Presentation
|
| 11 |
from pptx.util import Inches, Pt
|
| 12 |
+
import tempfile
|
| 13 |
|
| 14 |
API_URL = "https://api-inference.huggingface.co/models/runwayml/stable-diffusion-v1-5"
|
| 15 |
headers = {"Authorization": "Bearer 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"}
|