Shafaq25 commited on
Commit
48df11b
·
verified ·
1 Parent(s): ea77364

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -13,13 +13,9 @@ client = openai.OpenAI(
13
  )
14
 
15
  # -------------------------
16
- # Chat function - Explain this
17
  # -------------------------
18
  def chat_with_poe(history, message):
19
- """
20
- history: list of tuples [(user, bot), ...]
21
- message: latest user input
22
- """
23
  # Convert Gradio's history to Poe's format
24
  messages = []
25
  for user_msg, bot_msg in history:
 
13
  )
14
 
15
  # -------------------------
16
+ # Chat function - Explain this - By Alisha
17
  # -------------------------
18
  def chat_with_poe(history, message):
 
 
 
 
19
  # Convert Gradio's history to Poe's format
20
  messages = []
21
  for user_msg, bot_msg in history: