freddyaboulton HF staff commited on
Commit
064608e
β€’
1 Parent(s): 20649e6

Use current api

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +1 -1
  3. requirements.txt +0 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 😈
4
  colorFrom: purple
5
  colorTo: gray
6
  sdk: gradio
7
- sdk_version: 3.4
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
 
4
  colorFrom: purple
5
  colorTo: gray
6
  sdk: gradio
7
+ sdk_version: 3.36.0
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
app.py CHANGED
@@ -57,7 +57,7 @@ with gr.Blocks(css=CUSTOM_CSS) as demo:
57
 
58
  output.render()
59
 
60
- demo.run_forever(fn=run, inputs=None, outputs=output, every=1 * gr.Time.seconds)
61
 
62
 
63
  demo.queue().launch()
 
57
 
58
  output.render()
59
 
60
+ demo.load(fn=run, inputs=None, outputs=output, every=1)
61
 
62
 
63
  demo.queue().launch()
requirements.txt DELETED
@@ -1 +0,0 @@
1
- https://gradio-builds.s3.amazonaws.com/run-forever/v1/gradio-3.4-py3-none-any.whl