Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def plot_similarity_score(taraf_num, metr):
|
|
54 |
return fig, fig_dis, taraf_df[['matn', 'Number', 'Book_Name', 'Author', 'Hadith Number']]
|
55 |
|
56 |
with gr.Blocks() as demo:
|
57 |
-
gr.Markdown('#Semantic Distance Visualizer')
|
58 |
gr.Markdown('Please note, the closer to zero, the better for this approach. This is semantic distance. On the Matrix plot, I\'ve reversed the color scales. This means that more yellow points are more similar, more purple = more dissimilar. ')
|
59 |
|
60 |
taraf_number = gr.Slider(1,taraf_max , value=10000, label="Taraf", info="Choose the Taraf to Input", step = 1)
|
|
|
54 |
return fig, fig_dis, taraf_df[['matn', 'Number', 'Book_Name', 'Author', 'Hadith Number']]
|
55 |
|
56 |
with gr.Blocks() as demo:
|
57 |
+
gr.Markdown('# Semantic Distance Visualizer')
|
58 |
gr.Markdown('Please note, the closer to zero, the better for this approach. This is semantic distance. On the Matrix plot, I\'ve reversed the color scales. This means that more yellow points are more similar, more purple = more dissimilar. ')
|
59 |
|
60 |
taraf_number = gr.Slider(1,taraf_max , value=10000, label="Taraf", info="Choose the Taraf to Input", step = 1)
|