Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -198,7 +198,6 @@ with gr.Blocks(theme=gr.themes.Glass()) as demo:
|
|
| 198 |
chatbot3 = gr.Chatbot([[None,languagedict['English']['helpfirst']]])
|
| 199 |
input3 = gr.Textbox(label = languagedict['English']['helplabel'], placeholder = languagedict['English']['helpph'], visible = False)
|
| 200 |
with gr.Accordion("MIW", open = False):
|
| 201 |
-
code = gr.Textbox(label = 'Code')
|
| 202 |
instructions = gr.Textbox(label = 'Instructions', lines=10, max_lines= 100, visible = False)
|
| 203 |
complement = f"To answer, use primarily the information indicated here:\n{instructions}"
|
| 204 |
state3 = gr.State([{"role": "system", "content": themehelp + f"\n{complement}"},{"role": "assistant", "content": languagedict['English']['helpfirst']}])
|
|
|
|
| 198 |
chatbot3 = gr.Chatbot([[None,languagedict['English']['helpfirst']]])
|
| 199 |
input3 = gr.Textbox(label = languagedict['English']['helplabel'], placeholder = languagedict['English']['helpph'], visible = False)
|
| 200 |
with gr.Accordion("MIW", open = False):
|
|
|
|
| 201 |
instructions = gr.Textbox(label = 'Instructions', lines=10, max_lines= 100, visible = False)
|
| 202 |
complement = f"To answer, use primarily the information indicated here:\n{instructions}"
|
| 203 |
state3 = gr.State([{"role": "system", "content": themehelp + f"\n{complement}"},{"role": "assistant", "content": languagedict['English']['helpfirst']}])
|