ayush rajgor
ayush rajgor
## I upgrade the project to a new version of libraries. code is tested on the new version of torch=1.13.1, torchvision=0.14.1 using python 3.9 pip installation. [March 2023 update: code...
you can refer my other repo for this, https://github.com/ARajgor/VTryon-flask-new it is based on Flask App for custom images.
for the body mask, you need to parse images into png format. like the code mentioned on line 65 in application.py. that generate two files and saved them in image-parse...
Actually, I didn't change the original resolution that came with the original project but it is 192 X 256 px. the image parser inference.py also generates 192 X 256 px...
Here Bing api didn't return web result that's why it can't find the url
first your backend should up and running then go for UI
now you can update the inference timeout via the settings page. fetch latest changes.
```python client = OpenAI(api_key=os.getenv("OPENAI_API_KEY")) response = client.models.list() for model in response.data: if model.id.startswith("gpt-4"): print(model.id) ``` run this code to check how many models are available for you.
> > ```python > > client = OpenAI(api_key=os.getenv("OPENAI_API_KEY")) > > response = client.models.list() > > > > for model in response.data: > > if model.id.startswith("gpt-4"): > > print(model.id) > >...
> I did this : setx OPENAI_API_KEY "" > > And i runned python test.py but it show nothing : > >  > It should be `OpenAI(api_key="sk-....")` And print...