Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ from helper import get_questions
|
|
| 6 |
|
| 7 |
lock = threading.Lock()
|
| 8 |
|
| 9 |
-
def invoke(question, file_name, openai_api_key):
|
| 10 |
if not question:
|
| 11 |
raise gr.Error("Question is required.")
|
| 12 |
|
|
|
|
| 6 |
|
| 7 |
lock = threading.Lock()
|
| 8 |
|
| 9 |
+
def invoke(level, question, file_name, ground_truth, openai_api_key):
|
| 10 |
if not question:
|
| 11 |
raise gr.Error("Question is required.")
|
| 12 |
|