Commit
·
2f22646
1
Parent(s):
626b1eb
Type annotation changes
Browse files
app.py
CHANGED
|
@@ -37,8 +37,8 @@ def create_formatted_history(history_messages: List[dict]) -> List[Tuple[str, st
|
|
| 37 |
return formatted_history
|
| 38 |
|
| 39 |
def chat(
|
| 40 |
-
message: str, state, client=LLM.client
|
| 41 |
-
) -> Generator[Tuple[List[Tuple[str, str]], List[
|
| 42 |
history_messages = state
|
| 43 |
if history_messages == None:
|
| 44 |
history_messages = []
|
|
|
|
| 37 |
return formatted_history
|
| 38 |
|
| 39 |
def chat(
|
| 40 |
+
message: str, state: List[Dict[str, str]], client = LLM.client
|
| 41 |
+
) -> Generator[Tuple[List[Tuple[str, str]], List[Dict[str, str]]], None, None]:
|
| 42 |
history_messages = state
|
| 43 |
if history_messages == None:
|
| 44 |
history_messages = []
|