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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def plot_similarity_score(taraf_num):
24
  mask = np.tril(np.ones((rows, cols), dtype=bool), k=-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:
 
24
  mask = np.tril(np.ones((rows, cols), dtype=bool), k=-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}', labels = {'x': 'Similarity Score'}, nbins = 20, template = 'ggplot2' )
28
  return fig, fig_dis, taraf_df[['matn', 'Number']]
29
 
30
  with gr.Blocks() as demo: