IR1DO commited on
Commit
4c443de
β€’
1 Parent(s): a5b76f7
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +1 -2
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: πŸƒ
4
  colorFrom: purple
5
  colorTo: green
6
  sdk: gradio
7
- sdk_version: 2.9.4
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
 
4
  colorFrom: purple
5
  colorTo: green
6
  sdk: gradio
7
+ sdk_version: 4.3.0
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
app.py CHANGED
@@ -10,6 +10,5 @@ def predict(img):
10
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
11
 
12
  title = "Messi or Ronaldo"
13
- enable_queue=True
14
 
15
- gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label,title=title,enable_queue=enable_queue).launch()
 
10
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
11
 
12
  title = "Messi or Ronaldo"
 
13
 
14
+ gr.Interface(fn=predict,inputs="image",outputs="label",title=title).launch()