FatemehT commited on
Commit
507a990
·
1 Parent(s): d4e1ab7

Add Hugging Face Space configuration and app.py entry point

Browse files
Files changed (3) hide show
  1. README.md +11 -0
  2. app.py +11 -0
  3. requirements.txt +1 -0
README.md CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  # Apec Segmentation
2
 
3
  ## Apec paper
 
1
+ ---
2
+ title: APEC Angiography Segmentation
3
+ emoji: 🫀
4
+ colorFrom: red
5
+ colorTo: pink
6
+ sdk: streamlit
7
+ sdk_version: 1.28.1
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
+
12
  # Apec Segmentation
13
 
14
  ## Apec paper
app.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """
3
+ Main application entry point for APEC Angiography Segmentation
4
+ This file serves as the entry point for the Hugging Face Space
5
+ """
6
+
7
+ # Import the main application
8
+ import angioPySegmentation
9
+
10
+ # The angioPySegmentation.py file contains the full Streamlit application
11
+ # When this app.py is run, it will execute the Streamlit app
requirements.txt CHANGED
@@ -27,3 +27,4 @@ torch==2.4.0
27
  torchvision==0.19.0
28
  tqdm>=4.61.1
29
  pooch
 
 
27
  torchvision==0.19.0
28
  tqdm>=4.61.1
29
  pooch
30
+ segmentation-models-pytorch