Spaces:
Sleeping
Sleeping
transcript prompt updated
Browse files
app.py
CHANGED
@@ -219,9 +219,21 @@ PROMPT_SKILLS = (
|
|
219 |
PROMPT_IMAGE = (
|
220 |
"Extract the following information from this image:\n"
|
221 |
"'Student Name'\n"
|
222 |
-
"'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
)
|
224 |
|
|
|
225 |
@app.route("/", methods=["GET"])
|
226 |
def home():
|
227 |
return jsonify({"message": "Welcome to the PDF Extraction API. Use the /extract endpoint to extract information."})
|
|
|
219 |
PROMPT_IMAGE = (
|
220 |
"Extract the following information from this image:\n"
|
221 |
"'Student Name'\n"
|
222 |
+
"'Transfer Institution'\n"
|
223 |
+
"'Course Code'\n"
|
224 |
+
"'Course Name'\n"
|
225 |
+
"'Credits Attempted'\n"
|
226 |
+
"'Credits Earned'\n"
|
227 |
+
"'Grade'\n"
|
228 |
+
"'Quality Points'\n"
|
229 |
+
"'Semester Code'\n"
|
230 |
+
"'Semester Dates'\n"
|
231 |
+
"'Program or Major'\n"
|
232 |
+
"'Cumulative GPA'\n"
|
233 |
+
"Only provide the requested information without adding any extra details."
|
234 |
)
|
235 |
|
236 |
+
|
237 |
@app.route("/", methods=["GET"])
|
238 |
def home():
|
239 |
return jsonify({"message": "Welcome to the PDF Extraction API. Use the /extract endpoint to extract information."})
|