Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|