Plashkar commited on
Commit
1862dc3
·
1 Parent(s): 9457063

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,6 @@ import numpy as np
3
  import matplotlib.pyplot as plt
4
  import pandas as pd
5
 
6
- demo = gr.Block
7
  def graphPlot(inpX):
8
  inp_list = [[13,0,8425333,'Asia'],
9
  [15,1,9712569,'Oceania'],
@@ -34,6 +33,7 @@ def graphPlot(inpX):
34
  # Show the plot
35
  return plt
36
 
37
- with demo:
38
  gr.plot(fn=graphPolt)
 
39
  demo.launch()
 
3
  import matplotlib.pyplot as plt
4
  import pandas as pd
5
 
 
6
  def graphPlot(inpX):
7
  inp_list = [[13,0,8425333,'Asia'],
8
  [15,1,9712569,'Oceania'],
 
33
  # Show the plot
34
  return plt
35
 
36
+ with gr.Blocks() as demo:
37
  gr.plot(fn=graphPolt)
38
+
39
  demo.launch()