AniseF commited on
Commit
410695f
·
verified ·
1 Parent(s): d48a281

Delete doc_utils.py

Browse files
Files changed (1) hide show
  1. doc_utils.py +0 -13
doc_utils.py DELETED
@@ -1,13 +0,0 @@
1
- # doc_utils.py
2
-
3
- import requests
4
-
5
- def get_questions_from_doc(url):
6
- try:
7
- response = requests.get(url)
8
- response.raise_for_status()
9
- text = response.text
10
- questions = [line.strip() for line in text.splitlines() if line.strip().endswith('?')]
11
- return questions
12
- except Exception as e:
13
- return [f"Error loading questions: {e}"]