Spaces:
Sleeping
Sleeping
Update incompletesentencefinder.py
Browse files
incompletesentencefinder.py
CHANGED
|
@@ -52,8 +52,8 @@ class IncompleteSentenceFinder:
|
|
| 52 |
max_tokens=1000,
|
| 53 |
temperature=0
|
| 54 |
)
|
| 55 |
-
|
| 56 |
-
|
| 57 |
|
| 58 |
def get_incomplete_sentence(self,pdf_file) -> str:
|
| 59 |
|
|
|
|
| 52 |
max_tokens=1000,
|
| 53 |
temperature=0
|
| 54 |
)
|
| 55 |
+
response = chat_completion.choices[0].message.content
|
| 56 |
+
return response
|
| 57 |
|
| 58 |
def get_incomplete_sentence(self,pdf_file) -> str:
|
| 59 |
|