saffr0n commited on
Commit
b07b5bd
·
verified ·
1 Parent(s): 6bf6fd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -136,7 +136,6 @@ with gr.Blocks(css="style.css") as demo:
136
  movie_dropdown = gr.Dropdown(choices=movie_examples, label="Select a movie to derive principles from")
137
 
138
  movie_dropdown.change(get_movie_principles, inputs=[movie_dropdown], outputs=principle_list)
139
- principle_btn.click(get_movie_principles, inputs=[movie_dropdown], outputs=principle_list)
140
 
141
  chatbot = gr.Chatbot()
142
  msg = gr.Textbox(label="Enter your message")
 
136
  movie_dropdown = gr.Dropdown(choices=movie_examples, label="Select a movie to derive principles from")
137
 
138
  movie_dropdown.change(get_movie_principles, inputs=[movie_dropdown], outputs=principle_list)
 
139
 
140
  chatbot = gr.Chatbot()
141
  msg = gr.Textbox(label="Enter your message")