gorkemgoknar
commited on
Commit
•
08a6c74
1
Parent(s):
ddd9ee2
Update app.py
Browse files
app.py
CHANGED
@@ -238,7 +238,7 @@ def predict(
|
|
238 |
# metrics_text=f"Embedding calculation time: {latent_calculation_time:.2f} seconds\n"
|
239 |
|
240 |
# temporary comma fix
|
241 |
-
prompt= re.sub("([^\x00-\x7F]|\w)(\.|\。|\?)",r"\1 \2",prompt)
|
242 |
|
243 |
wav_chunks = []
|
244 |
## Direct mode
|
|
|
238 |
# metrics_text=f"Embedding calculation time: {latent_calculation_time:.2f} seconds\n"
|
239 |
|
240 |
# temporary comma fix
|
241 |
+
prompt= re.sub("([^\x00-\x7F]|\w)(\.|\。|\?)",r"\1 \2\2",prompt)
|
242 |
|
243 |
wav_chunks = []
|
244 |
## Direct mode
|