-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #107 from aakash-sharma25/Ai-Text-to-image
Ai text to image
- Loading branch information
Showing
13 changed files
with
17,907 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
|
||
# Details | ||
A simple text to image generator using hugging face api | ||
|
||
|
||
## Tech Stack | ||
|
||
React js, TailwindCSS | ||
|
||
|
||
## Run Locally | ||
|
||
Clone the project | ||
|
||
```bash | ||
https://github.com/aakash-sharma25/Text-To-Image.git | ||
``` | ||
|
||
Go to the project directory | ||
|
||
```bash | ||
cd Text-To-Image | ||
``` | ||
|
||
Install dependencies | ||
|
||
```bash | ||
npm install | ||
``` | ||
|
||
Start the project | ||
|
||
```bash | ||
npm run start | ||
``` | ||
View project on | ||
|
||
```bash | ||
http://localhost:3000/ | ||
``` | ||
|
||
|
||
## Environment Variables | ||
|
||
To run this project, you will need to add the following environment variables to your .env file | ||
|
||
`REACT_APP_HUGGING_FACE_API_TOKEN`= 'hugging face token' | ||
|
Oops, something went wrong.