Skip to content

Commit

Permalink
add make file
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottLL committed Apr 1, 2023
1 parent f4c8398 commit 5dea94c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
install:
pip install --upgrade pip &&\
pip install -r requirements.txt
4 changes: 3 additions & 1 deletion dalle2.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from dotenv import load_dotenv
import os
from PIL import Image

import openai

load_dotenv()
openai.api_key = os.getenv('OPENAI_API_KEY')

def image_to_image():
Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
openai
python-dotenv
Pillow

0 comments on commit 5dea94c

Please sign in to comment.