Remove unnecessary print statements
This commit is contained in:
parent
6a0f42c1ab
commit
dece8f660f
|
@ -35,12 +35,9 @@ class BaseHFImageProvider(BaseImageProvider):
|
||||||
})
|
})
|
||||||
|
|
||||||
if output:
|
if output:
|
||||||
print(output)
|
|
||||||
try:
|
try:
|
||||||
print("IMAGE")
|
|
||||||
return Image.open(io.BytesIO(output))
|
return Image.open(io.BytesIO(output))
|
||||||
except UnidentifiedImageError:
|
except UnidentifiedImageError:
|
||||||
print("FAILED IMAGE")
|
|
||||||
return output
|
return output
|
||||||
|
|
||||||
def get_settings_rows(self):
|
def get_settings_rows(self):
|
||||||
|
|
|
@ -41,7 +41,6 @@ class BaseOpenAIProvider(BaseProvider):
|
||||||
if self.model:
|
if self.model:
|
||||||
prompt = self.chunk(prompt)
|
prompt = self.chunk(prompt)
|
||||||
try:
|
try:
|
||||||
print(chat)
|
|
||||||
response = self.client.chat.completions.create(
|
response = self.client.chat.completions.create(
|
||||||
model=self.model,
|
model=self.model,
|
||||||
messages=chat,
|
messages=chat,
|
||||||
|
|
Loading…
Reference in New Issue