Duc Haba commited on
Commit
d2453a6
·
1 Parent(s): 2c4a57f
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -2534,7 +2534,7 @@ be a valuable resource for researchers studying butterfly populations, their dis
2534
  ---
2535
  """
2536
  # xinputs = ["image"]
2537
- xinputs = [gradio.Image(type="numpy")]
2538
  xoutputs = ["plot"]
2539
  # %%write -a app.py
2540
  # prompt: write a python code using gradio for simple hello world app
 
2534
  ---
2535
  """
2536
  # xinputs = ["image"]
2537
+ xinputs = [gradio.Image(type="pil")]
2538
  xoutputs = ["plot"]
2539
  # %%write -a app.py
2540
  # prompt: write a python code using gradio for simple hello world app
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- numpy<2
2
  cryptography
3
  pynvml
4
  py-cpuinfo
 
1
+ numpy==1.26.4
2
  cryptography
3
  pynvml
4
  py-cpuinfo