coeuslearning
commited on
Commit
•
7f344d4
1
Parent(s):
b470587
Update app.py
Browse files
app.py
CHANGED
@@ -72,10 +72,11 @@ def generate(
|
|
72 |
for text in streamer:
|
73 |
outputs.append(text)
|
74 |
concatenated_outputs = " ".join(outputs)
|
75 |
-
#yield concatenated_outputs
|
76 |
|
77 |
# Mask the output here
|
78 |
masked_output = mask_with_protecto(concatenated_outputs)
|
|
|
79 |
|
80 |
|
81 |
def mask_with_protecto(text_for_prompt):
|
|
|
72 |
for text in streamer:
|
73 |
outputs.append(text)
|
74 |
concatenated_outputs = " ".join(outputs)
|
75 |
+
# yield concatenated_outputs
|
76 |
|
77 |
# Mask the output here
|
78 |
masked_output = mask_with_protecto(concatenated_outputs)
|
79 |
+
yield masked_output
|
80 |
|
81 |
|
82 |
def mask_with_protecto(text_for_prompt):
|