Spaces:
Sleeping
Sleeping
update the layout
Browse files
app.py
CHANGED
@@ -18,9 +18,9 @@ def get_data():
|
|
18 |
with gr.Blocks() as demo:
|
19 |
gr.Markdown("# ๐ Real-Time Line Plot")
|
20 |
with gr.Row():
|
21 |
-
with gr.Column():
|
22 |
-
gr.DataFrame(get_data, every=5)
|
23 |
-
with gr.Column():
|
24 |
gr.LinePlot(get_data, x="Trending Topic / Hashtag", y="Tweet Volume", every=5, overlay_point=True, width=500, height=500)
|
25 |
gr.ScatterPlot(get_data, y="Tweet Volume", x="Trending Topic / Hashtag", every=5, width=500, height=500)
|
|
|
|
|
|
|
26 |
demo.queue().launch() # Run the demo with queuing enabled
|
|
|
18 |
with gr.Blocks() as demo:
|
19 |
gr.Markdown("# ๐ Real-Time Line Plot")
|
20 |
with gr.Row():
|
|
|
|
|
|
|
21 |
gr.LinePlot(get_data, x="Trending Topic / Hashtag", y="Tweet Volume", every=5, overlay_point=True, width=500, height=500)
|
22 |
gr.ScatterPlot(get_data, y="Tweet Volume", x="Trending Topic / Hashtag", every=5, width=500, height=500)
|
23 |
+
with gr.Row():
|
24 |
+
#with gr.Column():
|
25 |
+
gr.DataFrame(get_data, every=5)
|
26 |
demo.queue().launch() # Run the demo with queuing enabled
|