nmcamacho commited on
Commit
7987393
·
verified ·
1 Parent(s): 49967d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
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
- # Randomly select one of the pre-uploaded images
81
- image_choices = [
82
- "https://huggingface.co/spaces/nmcamacho/RAGdemo/resolve/main/dental_header_1.png",
83
- "https://huggingface.co/spaces/nmcamacho/RAGdemo/resolve/main/dental_header_2.png",
84
- "https://huggingface.co/spaces/nmcamacho/RAGdemo/resolve/main/dental_header_3.png"
 
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