Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ with gr.Blocks() as demo:
|
|
76 |
Places = gr.Dropdown(choices = cities, value = 'المدينه', label = 'Location')
|
77 |
FirstYear = gr.Slider(min_year, max_year, value = -11, label = 'Begining', info = 'Choose the first year to display Narrators')
|
78 |
Last_Year = gr.Slider(min_year, max_year, value = 9, label = 'End', info = 'Choose the last year to display Narrators')
|
79 |
-
num_narrators = gr.Slider(0,
|
80 |
|
81 |
btn = gr.Button('Submit')
|
82 |
btn.click(fn = network_visualizer, inputs = [Yaxis, Places, FirstYear, Last_Year, num_narrators], outputs = gr.HTML())
|
|
|
76 |
Places = gr.Dropdown(choices = cities, value = 'المدينه', label = 'Location')
|
77 |
FirstYear = gr.Slider(min_year, max_year, value = -11, label = 'Begining', info = 'Choose the first year to display Narrators')
|
78 |
Last_Year = gr.Slider(min_year, max_year, value = 9, label = 'End', info = 'Choose the last year to display Narrators')
|
79 |
+
num_narrators = gr.Slider(0, 1200, value = 400, label = 'Narrators', info = 'Choose the number of Narrators to display')
|
80 |
|
81 |
btn = gr.Button('Submit')
|
82 |
btn.click(fn = network_visualizer, inputs = [Yaxis, Places, FirstYear, Last_Year, num_narrators], outputs = gr.HTML())
|