Plashkar commited on
Commit
ed4e3f0
1 Parent(s): 7ee3ac3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,7 +3,7 @@ import numpy as np
3
  import matplotlib.pyplot as plt
4
  import pandas as pd
5
 
6
- def graphPlot():
7
  fig = plt.figure()
8
  inp_list = [[13,0,8425333,'Asia'],
9
  [15,1,9712569,'Oceania'],
@@ -45,5 +45,5 @@ inputs = [
45
  ]
46
  outputs = gr.Plot()
47
 
48
- demo = gr.Interface(fn=graphPlot, outputs=outputs, cache_examples=True)
49
  demo.launch(share=True)
 
3
  import matplotlib.pyplot as plt
4
  import pandas as pd
5
 
6
+ def graphPlot(plot_type, r, month, countries, social_distancing):
7
  fig = plt.figure()
8
  inp_list = [[13,0,8425333,'Asia'],
9
  [15,1,9712569,'Oceania'],
 
45
  ]
46
  outputs = gr.Plot()
47
 
48
+ demo = gr.Interface(fn=graphPlot, inputs=inputs, outputs=outputs, cache_examples=True)
49
  demo.launch(share=True)