From 7272165e0ea1dfd1fe1b1a5b4580ad06d4b217b7 Mon Sep 17 00:00:00 2001
From: Concedo <39025047+LostRuins@users.noreply.github.com>
Date: Sat, 15 Mar 2025 12:13:04 +0800
Subject: [PATCH] verbosity
---
koboldcpp.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/koboldcpp.py b/koboldcpp.py
index bc4297d95..e9d1860cd 100644
--- a/koboldcpp.py
+++ b/koboldcpp.py
@@ -3030,7 +3030,7 @@ Enter Prompt:
self.end_headers(content_type='application/json')
self.wfile.write(genresp)
except Exception as ex:
- utfprint(ex,0)
+ utfprint(ex,1)
print("Generate: The response could not be sent, maybe connection was terminated?")
handle.abort_generate()
time.sleep(0.2) #short delay
@@ -3056,7 +3056,7 @@ Enter Prompt:
self.end_headers(content_type='application/json')
self.wfile.write(genresp)
except Exception as ex:
- utfprint(ex,0)
+ utfprint(ex,1)
print("Generate Image: The response could not be sent, maybe connection was terminated?")
time.sleep(0.2) #short delay
return
@@ -3069,7 +3069,7 @@ Enter Prompt:
self.end_headers(content_type='application/json')
self.wfile.write(genresp)
except Exception as ex:
- utfprint(ex,0)
+ utfprint(ex,1)
print("Transcribe: The response could not be sent, maybe connection was terminated?")
time.sleep(0.2) #short delay
return
@@ -3085,7 +3085,7 @@ Enter Prompt:
self.end_headers(content_type='audio/wav')
self.wfile.write(wav_data) # Write the binary WAV data to the response
except Exception as ex:
- utfprint(ex,0)
+ utfprint(ex,1)
print("TTS: The response could not be sent, maybe connection was terminated?")
time.sleep(0.2) #short delay
return