Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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()
|