Spaces:
Runtime error
Runtime error
Update prompt examples
Browse files
app.py
CHANGED
@@ -113,5 +113,5 @@ To trigger pre-configured prompt you have to craft a prompt with next structure:
|
|
113 |
You can switch between gpt-3.5 and gpt-4 with {switch_to_gpt3} or {switch_to_gpt4} prompts.
|
114 |
'''.format(pre_configured_promt=pre_configured_promt, switch_to_gpt3=switch_to_gpt3, switch_to_gpt4=switch_to_gpt4)
|
115 |
|
116 |
-
examples = [
|
117 |
gr.ChatInterface(predict, examples=examples, description=description).launch()
|
|
|
113 |
You can switch between gpt-3.5 and gpt-4 with {switch_to_gpt3} or {switch_to_gpt4} prompts.
|
114 |
'''.format(pre_configured_promt=pre_configured_promt, switch_to_gpt3=switch_to_gpt3, switch_to_gpt4=switch_to_gpt4)
|
115 |
|
116 |
+
examples = ["Who are you?", "What is your purpose?", switch_to_gpt3, switch_to_gpt4, pre_configured_promt]
|
117 |
gr.ChatInterface(predict, examples=examples, description=description).launch()
|