NihalGazi commited on
Commit
d7f3b41
·
verified ·
1 Parent(s): 1455081

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def introduce_typos(text, typo_probability=0.03):
60
  def generate_text(system_instruction, prompt):
61
 
62
  if prompt.lower() == "refresh()":
63
- model.start_chat(history=[])
64
  return "Umm"
65
 
66
  response = chat_session.send_message(prompt,
 
60
  def generate_text(system_instruction, prompt):
61
 
62
  if prompt.lower() == "refresh()":
63
+ chat_session = model.start_chat(history=[])
64
  return "Umm"
65
 
66
  response = chat_session.send_message(prompt,