Dewmike commited on
Commit
19c00d5
Β·
1 Parent(s): 0362b52

Pin python-dotenv to version 1.0.0 for compatibility

Browse files
Files changed (5) hide show
  1. .dockerignore +15 -19
  2. README.md +11 -8
  3. adsnap-studio +7 -0
  4. adsnap-studio.pub +1 -0
  5. huggingface_requirements.txt +1 -1
.dockerignore CHANGED
@@ -42,6 +42,20 @@ logs/
42
  *.onnx
43
  *.safetensors
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  # Large files
46
  *.zip
47
  *.tar.gz
@@ -52,22 +66,4 @@ logs/
52
  *.ogg
53
  *.m4a
54
  *.jpg
55
- *.jpeg
56
- *.png
57
- *.gif
58
- *.tiff
59
- *.bmp
60
- *.webp
61
- *.ico
62
- *.svg
63
- *.pdf
64
- *.doc
65
- *.docx
66
- *.xls
67
- *.xlsx
68
- *.ppt
69
- *.pptx
70
-
71
- # Hugging Face specific
72
- .huggingface/
73
- .cache/
 
42
  *.onnx
43
  *.safetensors
44
 
45
+ # SSH keys
46
+ *_rsa
47
+ *_rsa.pub
48
+ *_dsa
49
+ *_dsa.pub
50
+ *_ed25519
51
+ *_ed25519.pub
52
+ *_ecdsa
53
+ *_ecdsa.pub
54
+ id_rsa*
55
+ id_dsa*
56
+ id_ed25519*
57
+ id_ecdsa*
58
+
59
  # Large files
60
  *.zip
61
  *.tar.gz
 
66
  *.ogg
67
  *.m4a
68
  *.jpg
69
+ *.jpeg
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  # 🎨 AdSnap Studio
2
 
3
  A powerful Streamlit app for generating professional product ads using Bria AI's advanced image generation and manipulation APIs.
@@ -86,31 +97,23 @@ This project has been enhanced with several key improvements and bug fixes:
86
  - **Fixed Image Generation Failures**: Improved API response parsing and URL extraction logic
87
  - **Fixed Session State Persistence**: Resolved data loss issues when navigating between tabs
88
  - **Fixed Import Dependencies**: Updated all service imports and exports for proper module resolution
89
-
90
  ### 🎨 UI/UX Improvements:
91
  - **Enhanced Error Handling**: Added comprehensive error messages and debugging information
92
  - **Improved File Management**: Clean codebase organization with proper file naming conventions
93
-
94
  ### πŸ”’ Security & Performance:
95
  - **Secure API Key Handling**: Masked input fields and proper environment variable management
96
  - **Optimized Audio Processing**: Efficient temporary file handling with automatic cleanup
97
  - **Content Moderation**: Built-in safety features for generated content
98
  - **Fallback Mechanisms**: Graceful degradation when APIs are unavailable
99
-
100
  ## 🀝 Contributing
101
-
102
  1. Fork the repository
103
  2. Create your feature branch (`git checkout -b feature/amazing-feature`)
104
  3. Commit your changes (`git commit -m 'Add amazing feature'`)
105
  4. Push to the branch (`git push origin feature/amazing-feature`)
106
  5. Open a Pull Request
107
-
108
  ## πŸ“ License
109
-
110
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
111
-
112
  ## πŸ™ Acknowledgments
113
-
114
  - [Bria AI](https://bria.ai) for their powerful image generation APIs
115
  - [Streamlit](https://streamlit.io) for the amazing web framework
116
  - [Ayush Singh](https://www.youtube.com/watch?v=yH1IdJAN7jA) for the inspiring YouTube tutorial that served as the foundation for the Voice-to-Image feature implementation
 
1
+ ---
2
+ title: AdSnap Studio
3
+ emoji: 🎨
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: streamlit
7
+ sdk_version: "1.32.0"
8
+ app_file: streamlit_app.py
9
+ pinned: false
10
+ ---
11
+
12
  # 🎨 AdSnap Studio
13
 
14
  A powerful Streamlit app for generating professional product ads using Bria AI's advanced image generation and manipulation APIs.
 
97
  - **Fixed Image Generation Failures**: Improved API response parsing and URL extraction logic
98
  - **Fixed Session State Persistence**: Resolved data loss issues when navigating between tabs
99
  - **Fixed Import Dependencies**: Updated all service imports and exports for proper module resolution
 
100
  ### 🎨 UI/UX Improvements:
101
  - **Enhanced Error Handling**: Added comprehensive error messages and debugging information
102
  - **Improved File Management**: Clean codebase organization with proper file naming conventions
 
103
  ### πŸ”’ Security & Performance:
104
  - **Secure API Key Handling**: Masked input fields and proper environment variable management
105
  - **Optimized Audio Processing**: Efficient temporary file handling with automatic cleanup
106
  - **Content Moderation**: Built-in safety features for generated content
107
  - **Fallback Mechanisms**: Graceful degradation when APIs are unavailable
 
108
  ## 🀝 Contributing
 
109
  1. Fork the repository
110
  2. Create your feature branch (`git checkout -b feature/amazing-feature`)
111
  3. Commit your changes (`git commit -m 'Add amazing feature'`)
112
  4. Push to the branch (`git push origin feature/amazing-feature`)
113
  5. Open a Pull Request
 
114
  ## πŸ“ License
 
115
  This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
 
116
  ## πŸ™ Acknowledgments
 
117
  - [Bria AI](https://bria.ai) for their powerful image generation APIs
118
  - [Streamlit](https://streamlit.io) for the amazing web framework
119
  - [Ayush Singh](https://www.youtube.com/watch?v=yH1IdJAN7jA) for the inspiring YouTube tutorial that served as the foundation for the Voice-to-Image feature implementation
adsnap-studio ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ -----BEGIN OPENSSH PRIVATE KEY-----
2
+ b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
3
+ QyNTUxOQAAACBe4GNrDzqL6MxQoTTMgTiKMhvX1kkMrZy7t6aDUdQ1OwAAAJgVqORdFajk
4
+ XQAAAAtzc2gtZWQyNTUxOQAAACBe4GNrDzqL6MxQoTTMgTiKMhvX1kkMrZy7t6aDUdQ1Ow
5
+ AAAEDowUYrJs5GBa2RRnA4rqRWD+DoOUrE/TIt2nvZYZfWUF7gY2sPOovozFChNMyBOIoy
6
+ G9fWSQytnLu3poNR1DU7AAAAE2Rld21pa2VsYUBnbWFpbC5jb20BAg==
7
+ -----END OPENSSH PRIVATE KEY-----
adsnap-studio.pub ADDED
@@ -0,0 +1 @@
 
 
1
+ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF7gY2sPOovozFChNMyBOIoyG9fWSQytnLu3poNR1DU7 [email protected]
huggingface_requirements.txt CHANGED
@@ -7,6 +7,6 @@ soundfile>=0.12.1
7
  librosa>=0.10.0
8
  numpy>=1.24.0
9
  tqdm>=4.65.0
10
- python-dotenv>=1.0.0
11
  requests>=2.31.0
12
  Pillow>=10.0.0
 
7
  librosa>=0.10.0
8
  numpy>=1.24.0
9
  tqdm>=4.65.0
10
+ python-dotenv==1.0.0
11
  requests>=2.31.0
12
  Pillow>=10.0.0