Beibars003 commited on
Commit
b00d3d9
·
verified ·
1 Parent(s): 8196f26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -1,6 +1,3 @@
1
- import warnings
2
- warnings.filterwarnings("ignore")
3
-
4
  import os
5
  import sys
6
  from typing import List, Tuple
@@ -68,7 +65,9 @@ llm = None
68
  llm_model = None
69
 
70
  def respond(
71
- direction: str,
 
 
72
  max_tokens: int = 1024,
73
  temperature: float = 0.7,
74
  top_p: float = 0.95,
 
 
 
 
1
  import os
2
  import sys
3
  from typing import List, Tuple
 
65
  llm_model = None
66
 
67
  def respond(
68
+ message: str,
69
+ history: List[Tuple[str, str]],
70
+ direction: str = "English to Kazakh",
71
  max_tokens: int = 1024,
72
  temperature: float = 0.7,
73
  top_p: float = 0.95,