mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
verbosity
This commit is contained in:
parent
4212f0b8e8
commit
7272165e0e
1 changed files with 4 additions and 4 deletions
|
@ -3030,7 +3030,7 @@ Enter Prompt:<br>
|
||||||
self.end_headers(content_type='application/json')
|
self.end_headers(content_type='application/json')
|
||||||
self.wfile.write(genresp)
|
self.wfile.write(genresp)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
utfprint(ex,0)
|
utfprint(ex,1)
|
||||||
print("Generate: The response could not be sent, maybe connection was terminated?")
|
print("Generate: The response could not be sent, maybe connection was terminated?")
|
||||||
handle.abort_generate()
|
handle.abort_generate()
|
||||||
time.sleep(0.2) #short delay
|
time.sleep(0.2) #short delay
|
||||||
|
@ -3056,7 +3056,7 @@ Enter Prompt:<br>
|
||||||
self.end_headers(content_type='application/json')
|
self.end_headers(content_type='application/json')
|
||||||
self.wfile.write(genresp)
|
self.wfile.write(genresp)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
utfprint(ex,0)
|
utfprint(ex,1)
|
||||||
print("Generate Image: The response could not be sent, maybe connection was terminated?")
|
print("Generate Image: The response could not be sent, maybe connection was terminated?")
|
||||||
time.sleep(0.2) #short delay
|
time.sleep(0.2) #short delay
|
||||||
return
|
return
|
||||||
|
@ -3069,7 +3069,7 @@ Enter Prompt:<br>
|
||||||
self.end_headers(content_type='application/json')
|
self.end_headers(content_type='application/json')
|
||||||
self.wfile.write(genresp)
|
self.wfile.write(genresp)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
utfprint(ex,0)
|
utfprint(ex,1)
|
||||||
print("Transcribe: The response could not be sent, maybe connection was terminated?")
|
print("Transcribe: The response could not be sent, maybe connection was terminated?")
|
||||||
time.sleep(0.2) #short delay
|
time.sleep(0.2) #short delay
|
||||||
return
|
return
|
||||||
|
@ -3085,7 +3085,7 @@ Enter Prompt:<br>
|
||||||
self.end_headers(content_type='audio/wav')
|
self.end_headers(content_type='audio/wav')
|
||||||
self.wfile.write(wav_data) # Write the binary WAV data to the response
|
self.wfile.write(wav_data) # Write the binary WAV data to the response
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
utfprint(ex,0)
|
utfprint(ex,1)
|
||||||
print("TTS: The response could not be sent, maybe connection was terminated?")
|
print("TTS: The response could not be sent, maybe connection was terminated?")
|
||||||
time.sleep(0.2) #short delay
|
time.sleep(0.2) #short delay
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue