Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ def guarded_fetch_analytics():
|
|
64 |
token_received["client_id"],
|
65 |
token_received["token"]
|
66 |
)
|
67 |
-
return count_md, plot, growth_plot, avg_post_eng_rate, interaction_metrics
|
68 |
|
69 |
|
70 |
def run_mentions_and_load():
|
@@ -130,11 +130,14 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue", secondary_hue="sky"),
|
|
130 |
|
131 |
with gr.Row():
|
132 |
interaction_data = gr.Plot(visible=False)
|
|
|
|
|
|
|
133 |
|
134 |
fetch_analytics_btn.click(
|
135 |
fn=guarded_fetch_analytics,
|
136 |
inputs=[],
|
137 |
-
outputs=[follower_count, follower_plot, growth_rate_plot, post_eng_rate_plot, interaction_data]
|
138 |
)
|
139 |
|
140 |
|
|
|
64 |
token_received["client_id"],
|
65 |
token_received["token"]
|
66 |
)
|
67 |
+
return count_md, plot, growth_plot, avg_post_eng_rate, interaction_metrics, eb_metrics
|
68 |
|
69 |
|
70 |
def run_mentions_and_load():
|
|
|
130 |
|
131 |
with gr.Row():
|
132 |
interaction_data = gr.Plot(visible=False)
|
133 |
+
|
134 |
+
with gr.Row():
|
135 |
+
eb_data = gr.Plot(visible=False)
|
136 |
|
137 |
fetch_analytics_btn.click(
|
138 |
fn=guarded_fetch_analytics,
|
139 |
inputs=[],
|
140 |
+
outputs=[follower_count, follower_plot, growth_rate_plot, post_eng_rate_plot, interaction_data, eb_data]
|
141 |
)
|
142 |
|
143 |
|