RoboCoachTechnologies / GPT-Synthesizer

Software design & development with AI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Streamlit GUI not working

AvaWrites opened this issue · comments

I have been able to run gpt-synthesizer from the command prompt, but not the GUI.

When I type gpt-synthesizer-streamlit, e.g.:
(base) PS C:\Users[installation location]> gpt-synthesizer-streamlit

I get the following message:

Usage: streamlit run [OPTIONS] TARGET [ARGS]...
Try 'streamlit run --help' for help.

Error: Invalid value: File does not exist: gpt_synthesizer/app.py

I can see both gpt-synthesizer.exe and gpt-synthesizer-streamlit.exe in the Scripts folder (as well as streamlit.exe and streamlit.cmd). I am running python on Windows and have Anaconda. Is there a different way to run gpt-synthesizer-streamlit on Windows? For example, it took me forever to figure out how to add my OpenAI API key in the command window. [You have to use 'set' and not 'export' on Windows - I'm a newbie!] I'd like to know if it's something simple like that, as I hope to use the GUI in order to see the code being generated.

Hi,
Can you tell me about your GPT-Synthesizer install method? Did you use pip install gpt-synthesizer or you cloned the repository?

I changed the run_app.py, removing gpt_synthesizer/ and it fixed this for me on a mac, bash, everything latest.