Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
fix: import langdetect in core async
Browse files Browse the repository at this point in the history
  • Loading branch information
dsdanielpark committed Nov 30, 2023
1 parent d509675 commit 2fce3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bardapi/core_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
import random
import base64
from typing import Optional
from langdetect import detect
from re import search
from httpx import AsyncClient

try:
from deep_translator import GoogleTranslator
from google.cloud import translate_v2 as translate
from langdetect import detect
except ImportError:
pass

Expand Down

0 comments on commit 2fce3bf

Please sign in to comment.