Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamlit GUI not working #9

Open
AvaWrites opened this issue Nov 6, 2023 · 2 comments
Open

Streamlit GUI not working #9

AvaWrites opened this issue Nov 6, 2023 · 2 comments

Comments

@AvaWrites
Copy link

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.

@RoboCoachian
Copy link
Contributor

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

@forrestbaer
Copy link

forrestbaer commented Nov 15, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants