Spaces:
Runtime error
Runtime error
wira.indra
commited on
Commit
•
38d1024
1
Parent(s):
9e9e229
add twitter feature
Browse files
app.py
CHANGED
@@ -95,6 +95,10 @@ if __name__ == "__main__":
|
|
95 |
max_rows=(20,'fixed'),
|
96 |
overflow_row_behaviour='paginate',
|
97 |
wrap=True)
|
|
|
|
|
|
|
|
|
98 |
|
99 |
gr.Markdown(
|
100 |
"""
|
@@ -103,8 +107,4 @@ if __name__ == "__main__":
|
|
103 |
|
104 |
)
|
105 |
|
106 |
-
|
107 |
-
inputs=[keyword_textbox, max_tweets_component],
|
108 |
-
outputs=[plot_component, dataframe_component])
|
109 |
-
|
110 |
-
demo.launch(inbrowser=True)
|
|
|
95 |
max_rows=(20,'fixed'),
|
96 |
overflow_row_behaviour='paginate',
|
97 |
wrap=True)
|
98 |
+
button.click(twitter_analyzer,
|
99 |
+
inputs=[keyword_textbox, max_tweets_component],
|
100 |
+
outputs=[plot_component, dataframe_component])
|
101 |
+
|
102 |
|
103 |
gr.Markdown(
|
104 |
"""
|
|
|
107 |
|
108 |
)
|
109 |
|
110 |
+
demo.launch(inbrowser=True)
|
|
|
|
|
|
|
|