Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.
/ dall-e-prompt-check Public archive

Check if your prompt is Flagged or not. No more BANS!

License

Notifications You must be signed in to change notification settings

UG6/dall-e-prompt-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🪄 Dall E - Prompt Checker - OUTDATED

We all know how strict Dall E is when it comes to Prompts. Let's all be safe and use Open AI's moderation API to check if our prompt is flagged before we use it in Dall E.

▶️ Demo

✅ Requirements

🔑 Getting API Key

Visit: https://beta.openai.com/account/api-keys to get your API/Secret key. You can just click "copy" and then paste it in "api.txt" file.

⚙️ Installation

  • Download source code from here.
  • Unzip into any desired folder and open CMD in same folder. How to open CMD in same folder.
  • Write pip install -r requirements.txt in Command Prompt and hit ENTER.
  • Before running the script, add your API key to "api.txt" file.
  • Now to run the script type python main.py in CMD and hit ENTER.

📃 License

This project is under license from MIT. For more details, see the License file.