srijaydeshpande commited on
Commit
b26fc16
1 Parent(s): 6573f7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -141,7 +141,8 @@ def deidentify_doc(pdftext, maxtokens, temperature, top_probability):
141
  outputs = ""
142
  for output in stream:
143
  outputs += output
144
- yield outputs
 
145
 
146
  # output = model.create_chat_completion(
147
  # messages=[
 
141
  outputs = ""
142
  for output in stream:
143
  outputs += output
144
+
145
+ return outputs
146
 
147
  # output = model.create_chat_completion(
148
  # messages=[