Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def switching(text):
|
|
61 |
result = get_response(prompt)
|
62 |
else:
|
63 |
prompt = select_prompt(input_text=text, prompts=prompts, keywords=keywords)
|
64 |
-
result = chat.chatting(prompt=prompt if prompt is not None else text
|
65 |
|
66 |
print(f"Prompt:\n{prompt}")
|
67 |
return result
|
|
|
61 |
result = get_response(prompt)
|
62 |
else:
|
63 |
prompt = select_prompt(input_text=text, prompts=prompts, keywords=keywords)
|
64 |
+
result = chat.chatting(prompt=prompt if prompt is not None else text)
|
65 |
|
66 |
print(f"Prompt:\n{prompt}")
|
67 |
return result
|