Spaces:
Runtime error
Runtime error
vinayakdev
commited on
Commit
•
d8ef29e
1
Parent(s):
accfb07
Happy Hugging Face!
Browse files- generator.py +1 -3
generator.py
CHANGED
@@ -83,10 +83,8 @@ def QA(question, context):
|
|
83 |
# QA("What was the first C program","The first prgram written in C was Hello World")
|
84 |
|
85 |
def gen_question(inputs):
|
86 |
-
|
87 |
questions = run_model(inputs)
|
88 |
-
|
89 |
-
return questions
|
90 |
|
91 |
# string_query = "Hello World"
|
92 |
# gen_question(f"answer: {string_query} context: The first C program said {string_query} "). #The format of the query to generate questions
|
|
|
83 |
# QA("What was the first C program","The first prgram written in C was Hello World")
|
84 |
|
85 |
def gen_question(inputs):
|
|
|
86 |
questions = run_model(inputs)
|
87 |
+
return questions
|
|
|
88 |
|
89 |
# string_query = "Hello World"
|
90 |
# gen_question(f"answer: {string_query} context: The first C program said {string_query} "). #The format of the query to generate questions
|