خوب پیش نیازها رو باز دوباره بنویس آپدیت کنhttps://huggingface.co/docs/hub/spaces-config-reference ارور کانفیگوریشن رو برطرف کن - Follow Up Deployment
Browse files- README.md +2 -2
- prompts.txt +2 -1
- requirements.txt +11 -7
README.md
CHANGED
|
@@ -64,7 +64,7 @@ cp .env.example .env
|
|
| 64 |
python app.py
|
| 65 |
```
|
| 66 |
|
| 67 |
-
##
|
| 68 |
|
| 69 |
1. Click "Connect Termux" in sidebar and grant permissions
|
| 70 |
2. Enter your Hugging Face token in Settings
|
|
@@ -73,7 +73,7 @@ python app.py
|
|
| 73 |
5. Generate and refine code
|
| 74 |
6. Save to Termux or export as APK
|
| 75 |
|
| 76 |
-
##
|
| 77 |
|
| 78 |
### Connection Errors
|
| 79 |
```bash
|
|
|
|
| 64 |
python app.py
|
| 65 |
```
|
| 66 |
|
| 67 |
+
## Usage
|
| 68 |
|
| 69 |
1. Click "Connect Termux" in sidebar and grant permissions
|
| 70 |
2. Enter your Hugging Face token in Settings
|
|
|
|
| 73 |
5. Generate and refine code
|
| 74 |
6. Save to Termux or export as APK
|
| 75 |
|
| 76 |
+
## Common Issues & Solutions
|
| 77 |
|
| 78 |
### Connection Errors
|
| 79 |
```bash
|
prompts.txt
CHANGED
|
@@ -73,4 +73,5 @@ pinned: false
|
|
| 73 |
|
| 74 |
Check out the configuration
|
| 75 |
ارو میاد روی فضای برنامه.configuration error
|
| 76 |
-
Missing configuration in READMEدرستش کن
|
|
|
|
|
|
| 73 |
|
| 74 |
Check out the configuration
|
| 75 |
ارو میاد روی فضای برنامه.configuration error
|
| 76 |
+
Missing configuration in READMEدرستش کن
|
| 77 |
+
خوب پیش نیازها رو باز دوباره بنویس آپدیت کنhttps://huggingface.co/docs/hub/spaces-config-reference ارور کانفیگوریشن رو برطرف کن
|
requirements.txt
CHANGED
|
@@ -1,9 +1,13 @@
|
|
| 1 |
```text
|
| 2 |
-
transformers
|
| 3 |
-
huggingface-hub
|
| 4 |
-
torch
|
| 5 |
-
requests
|
| 6 |
-
termux-api
|
| 7 |
-
python-dotenv
|
| 8 |
-
numpy
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
```
|
|
|
|
| 1 |
```text
|
| 2 |
+
transformers==4.30.0
|
| 3 |
+
huggingface-hub==0.15.1
|
| 4 |
+
torch==2.0.1
|
| 5 |
+
requests==2.28.1
|
| 6 |
+
termux-api==0.50
|
| 7 |
+
python-dotenv==0.21.0
|
| 8 |
+
numpy==1.23.5
|
| 9 |
+
gradio==3.39.0
|
| 10 |
+
fastapi==0.95.0
|
| 11 |
+
uvicorn==0.21.1
|
| 12 |
+
python-multipart==0.0.5
|
| 13 |
```
|