a10 commited on
Commit
9191311
·
1 Parent(s): c4ddb42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,4 +1,3 @@
1
-
2
  #%%
3
  from matplotlib.pyplot import title
4
  import tensorflow as tf
@@ -21,7 +20,7 @@ df = pd.DataFrame(columns=["Date Time","p (mbar)","T (degC)","Tpot (K)","Tdew (d
21
  os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" # see issue #152
22
  os.environ["CUDA_VISIBLE_DEVICES"] = ""
23
 
24
- if ("0" != ""):
25
  uri = "https://storage.googleapis.com/tensorflow/tf-keras-datasets/jena_climate_2009_2016.csv.zip"
26
  zip_path = keras.utils.get_file(origin=uri, fname="jena_climate_2009_2016.csv.zip")
27
  zip_file = ZipFile(zip_path)
@@ -227,4 +226,4 @@ def plot():
227
  fig = plot()
228
  st.pyplot(fig)
229
 
230
- # %%
 
 
1
  #%%
2
  from matplotlib.pyplot import title
3
  import tensorflow as tf
 
20
  os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" # see issue #152
21
  os.environ["CUDA_VISIBLE_DEVICES"] = ""
22
 
23
+ if ("0" == ""):
24
  uri = "https://storage.googleapis.com/tensorflow/tf-keras-datasets/jena_climate_2009_2016.csv.zip"
25
  zip_path = keras.utils.get_file(origin=uri, fname="jena_climate_2009_2016.csv.zip")
26
  zip_file = ZipFile(zip_path)
 
226
  fig = plot()
227
  st.pyplot(fig)
228
 
229
+ # %%