Bklieger / infinite-bookshelf

Infinite Bookshelf: Generate entire books in seconds using Groq and Llama3
https://infinite.benjamin.sh
MIT License
1.07k stars 239 forks source link

Enhance Dynamic Prompt Handling and Response Updates #50

Open chiragjoshi12 opened 3 weeks ago

chiragjoshi12 commented 3 weeks ago

Summary

This pull request introduces enhancements to manage multiple prompts and responses dynamically without requiring a page refresh in the Streamlit application. The updates include:

  1. Dynamic Prompt Handling: Added functionality to store and handle multiple prompts and responses using Streamlit's session state.
  2. Response Management: Enabled dynamic updates of responses and book content based on user inputs.
  3. Improved User Interaction: Streamlined the interface to handle new prompts and responses more effectively, providing a better user experience.

Changes Made

Testing

Additional Notes

Feel free to review the changes and provide feedback or suggestions for further improvements.