FDSRashid commited on
Commit
d371f34
·
verified ·
1 Parent(s): be75a8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,5 +57,5 @@ with gr.Blocks() as demo:
57
  taraf_number = gr.Slider(1,taraf_max , value=10000, label="Taraf", info="Choose the Taraf to Input", step = 1)
58
  metric = gr.Dropdown(choices = choice, value = 'cosine', label = 'Variable to Display', info = 'Choose the variable to visualize.')
59
  btn = gr.Button('Submit')
60
- btn.click(fn = plot_similarity_score, inputs = [taraf_number], outputs = [gr.Plot(),gr.Plot(), gr.DataFrame()])
61
  demo.launch()
 
57
  taraf_number = gr.Slider(1,taraf_max , value=10000, label="Taraf", info="Choose the Taraf to Input", step = 1)
58
  metric = gr.Dropdown(choices = choice, value = 'cosine', label = 'Variable to Display', info = 'Choose the variable to visualize.')
59
  btn = gr.Button('Submit')
60
+ btn.click(fn = plot_similarity_score, inputs = [taraf_number, metric], outputs = [gr.Plot(),gr.Plot(), gr.DataFrame()])
61
  demo.launch()