thanglekdi commited on
Commit
2759c91
·
1 Parent(s): 4fe1a90

test deepseek

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -112,19 +112,10 @@ import os
112
  # return output
113
 
114
  import call_api
115
- def respond(
116
- message,
117
- history: list[tuple[str, str]],
118
- system_message,
119
- max_tokens,
120
- temperature,
121
- top_p
122
- ):
123
- return call_api.respond(message, history, system_message, max_tokens, temperature)
124
 
125
 
126
  chat = gr.ChatInterface(
127
- respond, #chat
128
  # title="Trợ lý Học Tập AI",
129
  # description="Nhập câu hỏi của bạn về Toán, Lý, Hóa, Văn… và nhận giải đáp chi tiết ngay lập tức!",
130
  additional_inputs=[
 
112
  # return output
113
 
114
  import call_api
 
 
 
 
 
 
 
 
 
115
 
116
 
117
  chat = gr.ChatInterface(
118
+ call_api.respond, #chat
119
  # title="Trợ lý Học Tập AI",
120
  # description="Nhập câu hỏi của bạn về Toán, Lý, Hóa, Văn… và nhận giải đáp chi tiết ngay lập tức!",
121
  additional_inputs=[