Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def echo(message, history, system_prompt):
|
|
55 |
return f"{system_prompt}: {message}"
|
56 |
|
57 |
with gr.Blocks() as demo:
|
58 |
-
system_prompt = gr.Textbox("You
|
59 |
gr.ChatInterface(echo, additional_inputs=[system_prompt], chatbot=mychatbot).launch()
|
60 |
|
61 |
|
|
|
55 |
return f"{system_prompt}: {message}"
|
56 |
|
57 |
with gr.Blocks() as demo:
|
58 |
+
system_prompt = gr.Textbox("Your name is Stella. You're a helpful AI who helps the user.", label="System Prompt", render=False)
|
59 |
gr.ChatInterface(echo, additional_inputs=[system_prompt], chatbot=mychatbot).launch()
|
60 |
|
61 |
|