AAAAAAyq commited on
Commit
96f31ad
1 Parent(s): 65840c1

Update requirements v2

Browse files
Files changed (2) hide show
  1. app.py +7 -4
  2. requirements.txt +1 -1
app.py CHANGED
@@ -106,10 +106,13 @@ def predict(inp):
106
  demo = gr.Interface(fn=predict,
107
  inputs=gr.inputs.Image(type='pil'),
108
  outputs=['plot'],
109
- examples=[["assets/sa_192.jpg"], ["assets/sa_414.jpg"],
110
- ["assets/sa_561.jpg"], ["assets/sa_862.jpg"],
111
- ["assets/sa_1309.jpg"], ["assets/sa_8776.jpg"],
112
- ["assets/sa_10039.jpg"], ["assets/sa_11025.jpg"],],
 
 
 
113
  )
114
 
115
  demo.launch()
 
106
  demo = gr.Interface(fn=predict,
107
  inputs=gr.inputs.Image(type='pil'),
108
  outputs=['plot'],
109
+ examples=[["assets/sa_1309.jpg"],
110
+ ["assets/sa_8776.jpg"],
111
+ ["assets/sa_10039.jpg"],],
112
+ # examples=[["assets/sa_192.jpg"], ["assets/sa_414.jpg"],
113
+ # ["assets/sa_561.jpg"], ["assets/sa_862.jpg"],
114
+ # ["assets/sa_1309.jpg"], ["assets/sa_8776.jpg"],
115
+ # ["assets/sa_10039.jpg"], ["assets/sa_11025.jpg"],],
116
  )
117
 
118
  demo.launch()
requirements.txt CHANGED
@@ -1,6 +1,6 @@
1
  # Base-----------------------------------
2
  matplotlib==3.2.2
3
- numpy==1.23.0
4
  # opencv-python>=4.6.0
5
  # Pillow>=7.1.2
6
  # PyYAML>=5.3.1
 
1
  # Base-----------------------------------
2
  matplotlib==3.2.2
3
+ numpy
4
  # opencv-python>=4.6.0
5
  # Pillow>=7.1.2
6
  # PyYAML>=5.3.1