[!WARNING]
We are in the process of a major cleanup. Feel free to test as it is but expect changes/ post cleanup! <:
Enabling teachers to experiment with LLM/ Generative AI
1 Text GenAI:
2 Voice GenAI:
3 [WIP] Image GenAI
You can fork it at streamlit community cloud for immediate use. Please configure the env variables accordingly:
[!IMPORTANT]
The following env variables are required for setup. You can add this to thesecrets.toml
file in your streamlit deployment
openai_key = "YOUR_OPEN_API_KEY"
default_db = "chergpt.db"
default_temp = 0.0
default_frequency_penalty = 0.0
default_presence_penalty = 0.0
default_k_memory = 4
default_model = "gpt-4-1106-preview"
default_password = "default_password"
student_password = "studentp@sswrd"
teacher_password = "teacherp@sswrd"
super_admin_password = "pass1234"
super_admin = "super_admin"
default_title = "GenAI Workshop Framework V2"
sql_ext_path = "None"
*Note, While GPT-4 is the default model, you can also change models by modifying this setting:
default_model = gpt-3.5-turbo
To run this locally, follow the steps below.
pip install -r requirements.txt
pip install -r requirements.txt --default-timeout=100
streamlit run main.py