ReXploreBackend / image.py

Commit History

Update image.py
d94ffa5
Running
verified

raannakasturi commited on

Reorder image generation providers to include Airforce, PollinationsAI, and Blackbox for the flux model
e1f51f1

raannakasturi commited on

Add Prodia as an image generation provider and expand model options in generate_image function
5100f6b

raannakasturi commited on

Refactor summarization and email sending logic; improve error handling and environment variable checks
f50b29d

raannakasturi commited on

Update image generation providers and change model to sdxl-turbo
319999c

raannakasturi commited on

Refactor image handling by removing API key dependency and simplifying image upload logic
eb6ef16

raannakasturi commited on

Remove commented-out code for post body generation in create_post function
dcc4dc2

raannakasturi commited on

Enhance text handling in fix_text function and update Mindmap loading message for clarity
3f1a8fc

raannakasturi commited on

Escape summary and mindmap fields in paper_data function for improved HTML safety
9fb08e4

raannakasturi commited on

Remove summary and mindmap fields from test function for cleaner data structure
704d4a1

raannakasturi commited on

Update image generation to use new providers and adjust model name for improved performance
82d7e57

raannakasturi commited on

Refactor image generation functions to use category instead of summary and improve prompt clarity
2bf2b98

raannakasturi commited on

Refactor image generation and paper summarization logic for improved safety and clarity
0485034

raannakasturi commited on

Refactor image generation to use a client with retry logic and multiple providers
10266ab

raannakasturi commited on

Enhance image generation and fetching with error handling and retry logic
227f9f9

raannakasturi commited on

Refactor fetch_image function to format title and summary inputs
95ef056

raannakasturi commited on

Refactor image generation to use API endpoint and remove pollinations dependency
fc1cea9

raannakasturi commited on

Remove dotenv dependency and update access key usage in image and main modules
f4eb7a2

raannakasturi commited on

Enhance image handling with timeout and improve post HTML structure
22c0846

raannakasturi commited on

Update image.py
df4da64
verified

raannakasturi commited on

Update image.py
3c517aa
verified

raannakasturi commited on

Refactor image generation and upload process, improve error handling, and add base64 padding fix
f9bd988

raannakasturi commited on

Refactor image handling by removing debug print statements, adding image cleanup, and improving post creation sleep duration
9194514

raannakasturi commited on

Refactor image handling by moving image generation and verification to a new module, and update post creation to use the new fetch_image function
6415f78

raannakasturi commited on