Danielrahmai1991 commited on
Commit
fda23ff
·
verified ·
1 Parent(s): 60f31de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=[text1, 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")
 
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")