Spaces:
Runtime error
Runtime error
Update tool2.py
Browse files
tool2.py
CHANGED
@@ -6,7 +6,7 @@ import httpx
|
|
6 |
import time # Import the time module
|
7 |
|
8 |
# Load question sets from JSON files
|
9 |
-
def load_question_sets(directory='
|
10 |
question_sets = {}
|
11 |
# Check if the directory exists before trying to list files
|
12 |
if not os.path.exists(directory):
|
|
|
6 |
import time # Import the time module
|
7 |
|
8 |
# Load question sets from JSON files
|
9 |
+
def load_question_sets(directory='questions'):
|
10 |
question_sets = {}
|
11 |
# Check if the directory exists before trying to list files
|
12 |
if not os.path.exists(directory):
|