AEUPH commited on
Commit
cfca178
·
1 Parent(s): 430b1b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def interact_with_server(prompt, ip_address, user_agent):
7
  response_text = response.text
8
 
9
  # Count the number of messages in the conversation
10
- conversation_messages = response_text.split("<br>") # Assuming each message is separated by "<br>"
11
  num_messages = len(conversation_messages)
12
 
13
  # Print the information
 
7
  response_text = response.text
8
 
9
  # Count the number of messages in the conversation
10
+ conversation_messages = response_text.split("\n") # Assuming each message is separated by "<br>"
11
  num_messages = len(conversation_messages)
12
 
13
  # Print the information