reyemhorts commited on
Commit
2b4654b
·
1 Parent(s): 53bcaf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def api_load_pdf(inp):
70
  s = BytesIO(inp)
71
  text = api_pdf_to_text(s)
72
 
73
- return text
74
 
75
  # def compare_with_gpt(iu_code:str,text:str, model_name:Optional[str]=None)->str|None:
76
  # iu_course = get_course(iu_code)
 
70
  s = BytesIO(inp)
71
  text = api_pdf_to_text(s)
72
 
73
+ return json.dumps(text)
74
 
75
  # def compare_with_gpt(iu_code:str,text:str, model_name:Optional[str]=None)->str|None:
76
  # iu_course = get_course(iu_code)