radames commited on
Commit
9f3ad94
1 Parent(s): 2d54c0a

upgrade gradio to 3

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +3 -2
  3. requirements.txt +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: ⚡
4
  colorFrom: blue
5
  colorTo: red
6
  sdk: gradio
7
- sdk_version: 2.9.4
8
  app_file: app.py
9
  pinned: false
10
  ---
 
4
  colorFrom: blue
5
  colorTo: red
6
  sdk: gradio
7
+ sdk_version: 3.0b8
8
  app_file: app.py
9
  pinned: false
10
  ---
app.py CHANGED
@@ -114,5 +114,6 @@ iface = gr.Interface(fn=process_image,
114
  title=title,
115
  description=description,
116
  examples=examples,
117
- allow_flagging="never")
118
- iface.launch(debug=True, enable_queue=False, cache_examples=True)
 
 
114
  title=title,
115
  description=description,
116
  examples=examples,
117
+ allow_flagging="never",
118
+ cache_examples=True)
119
+ iface.launch(debug=True, enable_queue=False)
requirements.txt CHANGED
@@ -2,6 +2,6 @@ torch
2
  git+https://github.com/nielsrogge/transformers.git@add_dpt_redesign#egg=transformers
3
  numpy
4
  Pillow
5
- gradio>=2.9.3
6
  jinja2
7
  open3d
 
2
  git+https://github.com/nielsrogge/transformers.git@add_dpt_redesign#egg=transformers
3
  numpy
4
  Pillow
5
+ gradio==3.0b8
6
  jinja2
7
  open3d