ysharma HF Staff commited on
Commit
ad3f786
ยท
1 Parent(s): 1e40bc7

update the layout

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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