NimaBoscarino commited on
Commit
a3b29a9
1 Parent(s): d08ea1d

no cache exampels

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,7 +22,7 @@ def predict(place):
22
  img = response.content
23
 
24
  file = open("./inputs/loc_image.png", "wb")
25
- file.write(response.content)
26
  file.close()
27
 
28
  # Next improvement is to refactor apply_events so that I can load the model in memory when the interface launces
@@ -47,4 +47,4 @@ gr.Interface(
47
  # article="<p style='text-align: center'><a href='https://arxiv.org/pdf/1511.06434.pdf'>Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks</a> | <a href='https://github.com/teddykoker/cryptopunks-gan'>Github Repo</a></p>", ---- should be ClimateGAN citation
48
  # examples=[[123, 15], [42, 29], [456, 8], [1337, 35]],
49
  # css=".footer{display:none !important}",
50
- ).launch(cache_examples=True)
 
22
  img = response.content
23
 
24
  file = open("./inputs/loc_image.png", "wb")
25
+ file.write(img)
26
  file.close()
27
 
28
  # Next improvement is to refactor apply_events so that I can load the model in memory when the interface launces
 
47
  # article="<p style='text-align: center'><a href='https://arxiv.org/pdf/1511.06434.pdf'>Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks</a> | <a href='https://github.com/teddykoker/cryptopunks-gan'>Github Repo</a></p>", ---- should be ClimateGAN citation
48
  # examples=[[123, 15], [42, 29], [456, 8], [1337, 35]],
49
  # css=".footer{display:none !important}",
50
+ ).launch()