storresbusquets commited on
Commit
d03241e
·
1 Parent(s): c96f1e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -226,7 +226,7 @@ class GradioInference:
226
 
227
  # Define StuffDocumentsChain
228
  stuff_chain = StuffDocumentsChain(
229
- llm_chain=llm_chain, document_variable_name=text
230
  )
231
 
232
  docs = loader.load()
 
226
 
227
  # Define StuffDocumentsChain
228
  stuff_chain = StuffDocumentsChain(
229
+ llm_chain=llm_chain, document_variable_name="text"
230
  )
231
 
232
  docs = loader.load()