Spaces:
Sleeping
Sleeping
Samarth991
commited on
Commit
•
c5a25e1
1
Parent(s):
9354c7e
adding app
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ def document_loader(temperature,max_tokens,api_key,model_name,file_path):
|
|
115 |
|
116 |
if converted_txt:
|
117 |
print("Document Processed ..")
|
118 |
-
texts = process_documents(
|
119 |
lines = summarize_data(docs=texts,llm_model=model)
|
120 |
return lines
|
121 |
else:
|
|
|
115 |
|
116 |
if converted_txt:
|
117 |
print("Document Processed ..")
|
118 |
+
texts = process_documents(converted_txt)
|
119 |
lines = summarize_data(docs=texts,llm_model=model)
|
120 |
return lines
|
121 |
else:
|