Skip to content

Commit 61dffbc

Browse files
author
Muhammad Ali
committed
updated files
1 parent 4d6de1b commit 61dffbc

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
paid.py
2+
__pycache__

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,17 @@ This Python script efficiently generates customized prompts using a template and
7373
* `**/key/**`: Indicates a placeholder in the template, to be substituted with values from 'key-values.csv'.
7474

7575

76-
## **Known Exceptions and Error:**
77-
**Nill**
76+
## **Exceptions and Error:**
77+
- Template file is empty. Please add some text to it.
78+
79+
`You need to check your prompt.txt. It might be empty.`
80+
81+
- CSV file is empty. Please add some data to it.
82+
83+
`You need to check your key-values.cv. It might be empty.`
84+
85+
86+
- Invalid CSV Headers **`OR`** Invalid CSV columns count. Please make sure the CSV file has the correct format..
87+
88+
`For now the key-value and template is hard coded. The paid file only works for two key-values City and Title. Make sure the current headers are City,Title. Not less or More`
89+

0 commit comments

Comments
 (0)