Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue=gr.themes.colors.orange, seco
|
|
107 |
gr.Textbox(label="Top-K", value=50,),
|
108 |
stored_message
|
109 |
], outputs=out_text)
|
110 |
-
btn2.click(lambda: [None, None], outputs=[
|
111 |
btn3.click(fn=clear_memory, inputs=[stored_message], outputs=[out_text])
|
112 |
|
113 |
# demo = gr.Interface(fn=llm_run, inputs=["text"], outputs="text")
|
|
|
107 |
gr.Textbox(label="Top-K", value=50,),
|
108 |
stored_message
|
109 |
], outputs=out_text)
|
110 |
+
btn2.click(lambda: [None, None], outputs=[prompt_text, out_text])
|
111 |
btn3.click(fn=clear_memory, inputs=[stored_message], outputs=[out_text])
|
112 |
|
113 |
# demo = gr.Interface(fn=llm_run, inputs=["text"], outputs="text")
|