Update app.py
Browse files
app.py
CHANGED
|
@@ -77,13 +77,13 @@ def contextual_pitch_assistant(csv_file, query):
|
|
| 77 |
# TEMP FIX — skip image generation until org verification is complete
|
| 78 |
import random
|
| 79 |
|
| 80 |
-
#
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
|
|
|
| 85 |
]
|
| 86 |
-
|
| 87 |
image_url = random.choice(image_choices)
|
| 88 |
|
| 89 |
# Clean GPT output to remove leftover DALL·E prompt or Markdown artifacts
|
|
|
|
| 77 |
# TEMP FIX — skip image generation until org verification is complete
|
| 78 |
import random
|
| 79 |
|
| 80 |
+
# Generate or pick a random header image
|
| 81 |
+
import random
|
| 82 |
+
image_choices = [
|
| 83 |
+
"https://huggingface.co/spaces/nmcamacho/RAGdemo/resolve/main/dental_header_1.png",
|
| 84 |
+
"https://huggingface.co/spaces/nmcamacho/RAGdemo/resolve/main/dental_header_2.png",
|
| 85 |
+
"https://huggingface.co/spaces/nmcamacho/RAGdemo/resolve/main/dental_header_3.png"
|
| 86 |
]
|
|
|
|
| 87 |
image_url = random.choice(image_choices)
|
| 88 |
|
| 89 |
# Clean GPT output to remove leftover DALL·E prompt or Markdown artifacts
|