private-gpt icon indicating copy to clipboard operation
private-gpt copied to clipboard

Update privateGPT.py

Open mzamini92 opened this issue 1 year ago • 0 comments

Move the code inside the main function to a new function, such as run_qa_system() to better separate concerns and makes the code easier to read and understand. Encapsulate the main functionality in a function to improve modularity and reusability. Instead of assigning environment variables to local variables, you can directly access them where needed, reducing unnecessary code.

mzamini92 avatar May 23 '23 03:05 mzamini92