gmz1711 commited on
Commit
c8d9033
·
1 Parent(s): 0c27120

Fix error

Browse files
Files changed (5) hide show
  1. .gitignore +32 -0
  2. README.md +1 -0
  3. app.yaml +5 -0
  4. requirements.txt +1 -1
  5. setup.sh +7 -0
.gitignore ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # Distribution / packaging
7
+ dist/
8
+ build/
9
+ *.egg-info/
10
+
11
+ # Virtual environments
12
+ venv/
13
+ env/
14
+ ENV/
15
+
16
+ # Local development settings
17
+ .env
18
+ .vscode/
19
+ .idea/
20
+
21
+ # Jupyter Notebook
22
+ .ipynb_checkpoints
23
+
24
+ # Streamlit
25
+ .streamlit/
26
+
27
+ # Logs
28
+ *.log
29
+
30
+ # OS specific
31
+ .DS_Store
32
+ Thumbs.db
README.md CHANGED
@@ -7,6 +7,7 @@ sdk: streamlit
7
  sdk_version: 1.31.0
8
  app_file: app.py
9
  pinned: false
 
10
  ---
11
 
12
  # AI Guided Tour Creator
 
7
  sdk_version: 1.31.0
8
  app_file: app.py
9
  pinned: false
10
+ license: apache-2.0
11
  ---
12
 
13
  # AI Guided Tour Creator
app.yaml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ runtime: python
2
+ env: flex
3
+ entrypoint: streamlit run app.py --server.port=$PORT --server.address=0.0.0.0
4
+ runtime_config:
5
+ python_version: 3.10
requirements.txt CHANGED
@@ -30,6 +30,6 @@ tqdm>=4.65.0 # Required for progress bars
30
  safetensors>=0.3.0 # Required for newer transformer models
31
  requests>=2.28.0 # Required for API calls
32
  huggingface_hub>=0.16.0 # Required for model downloading
33
- protobuf>=3.20.0 # Required for model serialization
34
  pyngrok>=5.1.0 # For tunneling in Spaces if needed
35
  python-multipart>=0.0.5 # For file uploads in Spaces
 
30
  safetensors>=0.3.0 # Required for newer transformer models
31
  requests>=2.28.0 # Required for API calls
32
  huggingface_hub>=0.16.0 # Required for model downloading
33
+ protobuf>=3.20.0,<4.0.0 # Required for model serialization
34
  pyngrok>=5.1.0 # For tunneling in Spaces if needed
35
  python-multipart>=0.0.5 # For file uploads in Spaces
setup.sh ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # Install system dependencies
3
+ apt-get update
4
+ apt-get install -y ffmpeg portaudio19-dev python3-pyaudio libgl1-mesa-glx libsm6 libxext6 libxrender-dev
5
+
6
+ # Install Python dependencies
7
+ pip install -r requirements.txt