summaryrefslogtreecommitdiffstats
path: root/g4f/Provider/AItianhuSpace.py
diff options
context:
space:
mode:
authorHeiner Lohaus <heiner@lohaus.eu>2023-10-22 23:53:18 +0200
committerHeiner Lohaus <heiner@lohaus.eu>2023-10-22 23:53:18 +0200
commit598255fa26e39d57e51fb41957a381a9241cb032 (patch)
tree041477072837e13f5ccd313e3b67fce0a0b334b4 /g4f/Provider/AItianhuSpace.py
parentImprove get_cookies helper (diff)
downloadgpt4free-598255fa26e39d57e51fb41957a381a9241cb032.tar
gpt4free-598255fa26e39d57e51fb41957a381a9241cb032.tar.gz
gpt4free-598255fa26e39d57e51fb41957a381a9241cb032.tar.bz2
gpt4free-598255fa26e39d57e51fb41957a381a9241cb032.tar.lz
gpt4free-598255fa26e39d57e51fb41957a381a9241cb032.tar.xz
gpt4free-598255fa26e39d57e51fb41957a381a9241cb032.tar.zst
gpt4free-598255fa26e39d57e51fb41957a381a9241cb032.zip
Diffstat (limited to 'g4f/Provider/AItianhuSpace.py')
-rw-r--r--g4f/Provider/AItianhuSpace.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/g4f/Provider/AItianhuSpace.py b/g4f/Provider/AItianhuSpace.py
index 51297bcd..46856060 100644
--- a/g4f/Provider/AItianhuSpace.py
+++ b/g4f/Provider/AItianhuSpace.py
@@ -1,7 +1,7 @@
from __future__ import annotations
import random, json
-from ..debug import logging
+from .. import debug
from ..typing import AsyncResult, Messages
from ..requests import StreamSession
from .base_provider import AsyncGeneratorProvider, format_prompt, get_cookies
@@ -36,7 +36,7 @@ class AItianhuSpace(AsyncGeneratorProvider):
rand = ''.join(random.choice(chars) for _ in range(6))
domain = f"{rand}.{domains[model]}"
- if logging:
+ if debug.logging:
print(f"AItianhuSpace | using domain: {domain}")
if not cookies: