-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Converted project into a python package. #199
base: main
Are you sure you want to change the base?
Conversation
Model can be set on runtime using `MODEL=gemini poetry run uvicorn main:app --reload --port 7001` or by configuring it on the web ui. Follow instructions on the README to set appropriate api keys.
Apply Sweep Rules to your PR?
|
…end. serving 'index.html' from built frontend files as homepage.
I've converted the project into a python package. pip install https://github.com/theonlyamos/screenshot-to-code/archive/main.zip Usage: screenshottocode Go to https://github.com/theonlyamos/screenshot-to-code.git for more information. |
args.func(args) | ||
|
||
except Exception as e: | ||
logging.error(str(e)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should not use logging directly. Define logger = logging.getLogger(name) and use logger instead :)
I've added the ability to change model to gemin pro vision.
Model can be made with
MODEL=gemini poetry run uvicorn main:app --reload --port 7001
or on the web ui settings dialog.