Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -191,7 +191,7 @@ def generate(
|
|
191 |
break
|
192 |
all_tokens += [token]
|
193 |
for xxx in occurrence:
|
194 |
-
occurrence[xxx] *= 0.
|
195 |
if token not in occurrence:
|
196 |
occurrence[token] = 1
|
197 |
else:
|
|
|
191 |
break
|
192 |
all_tokens += [token]
|
193 |
for xxx in occurrence:
|
194 |
+
occurrence[xxx] *= 0.994
|
195 |
if token not in occurrence:
|
196 |
occurrence[token] = 1
|
197 |
else:
|