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

Fix readme example to run interference API from repo #1271

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

ramon-victor
Copy link
Contributor

Fix readme example to run interference API from repo.

Running python -m g4f.api throws the error:
No module named g4f.api.main; 'g4f.api' is a package and cannot be directly executed

Adding the '.run' at the end of the command solves the problem.
python -m g4f.api.run

Below is an example.

g4f-run

@xtekky xtekky merged commit 168d167 into xtekky:main Nov 19, 2023
1 check failed
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

Successfully merging this pull request may close these issues.

2 participants