HowToAutogen / app.py
awacke1's picture
Update app.py
2a03176 verified
import streamlit as st
markdown=f"""
Start Here: https://autogen-studio.com/autogen-studio-ui
# Installation and Running Autogen:
1. create a directory: mkdir autogen
2. Go there and create a startup script. C:\\\\Users\\\\aaron\\\\autogen>notepad setkey.bat
3. Add three lines for the key(s) and launch:
- set OPENAI_API_ORG=[your org key] https://platform.openai.com/settings/organization/general
- set OPENAI_API_KEY=[your openai key] https://platform.openai.com/api-keys
- autogenstudio ui
4. pip install autogenstudio
5. run your startup script setkey.bat
6. Browse to localhost http://localhost:8081/
# Sample Output:
![Alt Text](https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/ksQAeTwpgct1tuQqTV8UX.png)
# Note that the code generated is shown for the solution.
![Alt Text](https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/srAKw40D8OsHHdZr59QCG.png)
![Alt Text](https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/JcU-sUOgg_qDo5Ih51Ra4.png)
![Alt Text](https://cdn-uploads.huggingface.co/production/uploads/620630b603825909dcbeba35/G6hKlMIpj6UHtcx4UV8XI.png)
"""
st.markdown(markdown)