Update app.py
Browse files
app.py
CHANGED
|
@@ -155,7 +155,7 @@ def generate_image(emotion_prediction, transcribed_text):
|
|
| 155 |
return Image.new('RGB', (1024, 512), color='white')
|
| 156 |
|
| 157 |
# Create the prompt for text2img
|
| 158 |
-
prompt = f"Generate
|
| 159 |
|
| 160 |
# Make request to DeepAI text2img API
|
| 161 |
response = requests.post(
|
|
|
|
| 155 |
return Image.new('RGB', (1024, 512), color='white')
|
| 156 |
|
| 157 |
# Create the prompt for text2img
|
| 158 |
+
prompt = f"Generate an equirectangular 360 image texture {emotion_prediction} attitude, representing the idea of: [{transcribed_text}]."
|
| 159 |
|
| 160 |
# Make request to DeepAI text2img API
|
| 161 |
response = requests.post(
|