Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,8 +36,8 @@ def get_mood_from_image(image: Image.Image):
|
|
| 36 |
request_headers = {
|
| 37 |
"Authorization": f"Bearer {STABLE_DIFFUSION_API_KEY}",
|
| 38 |
"Accept": "image/jpeg", # Set the Accept header to receive an image directly
|
| 39 |
-
}
|
| 40 |
"inputs": prompt
|
|
|
|
| 41 |
}
|
| 42 |
|
| 43 |
while True:
|
|
|
|
| 36 |
request_headers = {
|
| 37 |
"Authorization": f"Bearer {STABLE_DIFFUSION_API_KEY}",
|
| 38 |
"Accept": "image/jpeg", # Set the Accept header to receive an image directly
|
|
|
|
| 39 |
"inputs": prompt
|
| 40 |
+
|
| 41 |
}
|
| 42 |
|
| 43 |
while True:
|