Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,8 @@ from transformers import pipeline
|
|
| 9 |
# Load AI model for test case generation
|
| 10 |
test_case_generator = pipeline("text-generation", model="microsoft/CodeGPT-small-py")
|
| 11 |
|
|
|
|
|
|
|
| 12 |
# Agar database file exist nahi karti toh create karo
|
| 13 |
if not os.path.exists(DB_PATH):
|
| 14 |
conn = sqlite3.connect(DB_PATH)
|
|
|
|
| 9 |
# Load AI model for test case generation
|
| 10 |
test_case_generator = pipeline("text-generation", model="microsoft/CodeGPT-small-py")
|
| 11 |
|
| 12 |
+
DB_PATH = "results.db"
|
| 13 |
+
|
| 14 |
# Agar database file exist nahi karti toh create karo
|
| 15 |
if not os.path.exists(DB_PATH):
|
| 16 |
conn = sqlite3.connect(DB_PATH)
|