Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
import chainlit as cl
|
| 2 |
import base64
|
| 3 |
import json
|
|
|
|
|
|
|
| 4 |
|
| 5 |
@cl.header_auth_callback
|
| 6 |
def header_auth_callback(headers: dict) -> Optional[cl.User]:
|
|
|
|
| 1 |
import chainlit as cl
|
| 2 |
import base64
|
| 3 |
import json
|
| 4 |
+
from typing import Any, Dict, no_type_check
|
| 5 |
+
from typing import Optional
|
| 6 |
|
| 7 |
@cl.header_auth_callback
|
| 8 |
def header_auth_callback(headers: dict) -> Optional[cl.User]:
|