jdoexbox360 commited on
Commit
a9f06e3
1 Parent(s): 6e3a6cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ global convo
16
  convo = ""
17
  def output(prompt, output_length):
18
  global convo
19
- if prompt.split("clear_convo()")[0].strip()=="clear_convo()":
20
  convo = ""
21
  prompt = prompt.split("clear_convo()")[1].strip()
22
  sentence = convo + '\n' + script_speaker_name + ': ' + prompt + '\n' + script_responder_name + ': '
 
16
  convo = ""
17
  def output(prompt, output_length):
18
  global convo
19
+ if prompt.split(" ")[0].strip()=="clear_convo()":
20
  convo = ""
21
  prompt = prompt.split("clear_convo()")[1].strip()
22
  sentence = convo + '\n' + script_speaker_name + ': ' + prompt + '\n' + script_responder_name + ': '