FDSRashid commited on
Commit
b23bc8f
·
verified ·
1 Parent(s): 9bbd6fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def plot_similarity_score(taraf_num):
25
  lower_triangle = matr[mask]
26
  data = lower_triangle.flatten()
27
  fig_dis = px.histogram(x = data, title = f'Similarity Distribution for Taraf {taraf_num} using ', labels = {'x': 'Similarity Score'}, nbins = 20, template = 'ggplot2' )
28
- return fig, , fig_dis, taraf_df[['matn', 'Number']]
29
 
30
  with gr.Blocks() as demo:
31
  taraf_number = gr.Slider(1,taraf_max , value=10000, label="Taraf", info="Choose the Taraf to Input", step = 1)
 
25
  lower_triangle = matr[mask]
26
  data = lower_triangle.flatten()
27
  fig_dis = px.histogram(x = data, title = f'Similarity Distribution for Taraf {taraf_num} using ', labels = {'x': 'Similarity Score'}, nbins = 20, template = 'ggplot2' )
28
+ return fig, fig_dis, taraf_df[['matn', 'Number']]
29
 
30
  with gr.Blocks() as demo:
31
  taraf_number = gr.Slider(1,taraf_max , value=10000, label="Taraf", info="Choose the Taraf to Input", step = 1)