Update main.py
Browse files
main.py
CHANGED
@@ -30,6 +30,10 @@ from chainlit.input_widget import TextInput, Select, Switch, Slider
|
|
30 |
from deep_translator import GoogleTranslator
|
31 |
|
32 |
from datetime import timedelta
|
|
|
|
|
|
|
|
|
33 |
@cl.password_auth_callback
|
34 |
def auth_callback(username: str, password: str):
|
35 |
auth = json.loads(os.environ['CHAINLIT_AUTH_LOGIN'])
|
|
|
30 |
from deep_translator import GoogleTranslator
|
31 |
|
32 |
from datetime import timedelta
|
33 |
+
|
34 |
+
from literalai import LiteralClient
|
35 |
+
literal_client = LiteralClient(api_key=os.getenv("LITERAL_API_KEY"))
|
36 |
+
|
37 |
@cl.password_auth_callback
|
38 |
def auth_callback(username: str, password: str):
|
39 |
auth = json.loads(os.environ['CHAINLIT_AUTH_LOGIN'])
|