Spaces:
Runtime error
Runtime error
Increase the number of images fetched and display probability
Browse filesFiles changed (2)
11 unmodified lines121314151516171811 unmodified lines
REQUEST_TIMEOUT = 12MAX_PHOTOS = 2MAX_PHOTOS = 3
# Only show warnings33 unmodified lines3435363738373839404133 unmodified linesINCHES_0_3 = pptx.util.Inches(0.3)
STEP_BY_STEP_PROCESS_MARKER = '>> 'IMAGE_DISPLAY_PROBABILITY = 0.3FOREGROUND_IMAGE_PROBABILITY = 0.75IMAGE_DISPLAY_PROBABILITY = 1 / 3.0FOREGROUND_IMAGE_PROBABILITY = 0.8SLIDE_NUMBER_REGEX = re.compile(r"^slide[ ]+\d+:", re.IGNORECASE)
helpers/image_search.py+1-1
helpers/pptx_helper.py+2-2