Update app.py
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ with gr.Blocks() as demo:
|
|
95 |
FirstYear = gr.Slider(min_year, max_year, value = -11, label = 'Begining', info = 'Choose the first year to display Narrators')
|
96 |
Last_Year = gr.Slider(min_year, max_year, value = 9, label = 'End', info = 'Choose the last year to display Narrators')
|
97 |
Yaxis = gr.Dropdown(choices = ['Tarafs', 'Hadiths', 'Isnads', 'Books'], value = 'Tarafs', label = 'Variable to Display', info = 'Choose the variable to visualize.')
|
98 |
-
|
99 |
image_button = gr.Button("Visualize!")
|
100 |
|
101 |
text_button.click(narrator_retriever, inputs=text_input, outputs=text_output)
|
|
|
95 |
FirstYear = gr.Slider(min_year, max_year, value = -11, label = 'Begining', info = 'Choose the first year to display Narrators')
|
96 |
Last_Year = gr.Slider(min_year, max_year, value = 9, label = 'End', info = 'Choose the last year to display Narrators')
|
97 |
Yaxis = gr.Dropdown(choices = ['Tarafs', 'Hadiths', 'Isnads', 'Books'], value = 'Tarafs', label = 'Variable to Display', info = 'Choose the variable to visualize.')
|
98 |
+
image_output = gr.HTML()
|
99 |
image_button = gr.Button("Visualize!")
|
100 |
|
101 |
text_button.click(narrator_retriever, inputs=text_input, outputs=text_output)
|