Spaces:
Sleeping

Gerold Meisinger commited on
Commit
e310885
·
1 Parent(s): 87b06f7

fixed requirements

Browse files
Files changed (3) hide show
  1. app.py +1 -1
  2. packages.txt +1 -1
  3. requirements.txt +2 -1
app.py CHANGED
@@ -97,7 +97,7 @@ def apply_edge_detection(image_rgb, algorithm, apply_crop, convert2grayscale, pa
97
  # Create Gradio interface
98
  with gr.Blocks(title="Edge Drawing") as app:
99
  examples = load_example_images()
100
- gr.Markdown("# Enhanced Edge Detection with [Edge Drawing](https://github.com/CihanTopal/ED_Lib) using [opencv-contrib-python](https://docs.opencv.org/4.x/d1/d1c/classcv_1_1ximgproc_1_1EdgeDrawing.html)")
101
 
102
  # Image row - Input and Output side by side
103
  with gr.Row():
 
97
  # Create Gradio interface
98
  with gr.Blocks(title="Edge Drawing") as app:
99
  examples = load_example_images()
100
+ gr.Markdown("# Enhanced Edge Detection using [Edge Drawing](https://github.com/CihanTopal/ED_Lib) with [opencv-contrib-python](https://docs.opencv.org/4.x/d1/d1c/classcv_1_1ximgproc_1_1EdgeDrawing.html)")
101
 
102
  # Image row - Input and Output side by side
103
  with gr.Row():
packages.txt CHANGED
@@ -1 +1 @@
1
- python3-opencv
 
1
+ python3-opencv
requirements.txt CHANGED
@@ -1,2 +1,3 @@
1
- gradio==5.39.0
 
2
  opencv-contrib-python>=4.12
 
1
+ gradio==4.44.1
2
+ pydantic==2.10.6
3
  opencv-contrib-python>=4.12