Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heaversm/pdr-imagen
https://github.com/heaversm/pdr-imagen
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/heaversm/pdr-imagen
- Owner: heaversm
- Created: 2024-03-06T19:02:24.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-06T19:03:10.000Z (11 months ago)
- Last Synced: 2024-12-23T10:38:56.731Z (about 1 month ago)
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
title: PDR Vertex
emoji: 📐
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 4.18.0
app_file: app.py
pinned: false
license: apache-2.0
---### To recreate this in your own space:
* duplicate this space
* copy the `env-sample` and save as `.env`
* add your OpenAI API Key, and the password you want your users to enter.### To run locally:
(optional - run in virtual environment)
1 type `virtualenv venv` to create new `venv`
2 type `source venv/bin/activate` to activity `venv`(required)
3 type pip install -r requirements.txt to install requirements package
4 wait pip install finish
5 type `python app.py`
6 open your browser and type http://127.0.0.1:7860
7 the api docs in http://127.0.0.1:7860/?view=api### Troubleshooting install
In some environments, such as Mac when you have both python 2 and 3 installed, you may want to run `pip3install -r requirements`, `pip3 install setuptools`, and then `python3 app.py`