MHamdan commited on
Commit
210368a
Β·
1 Parent(s): 6f27cfd

Fix metadata with proper encoding and gitattributes

Browse files
Files changed (2) hide show
  1. .gitattributes +1 -35
  2. README.md +2 -23
.gitattributes CHANGED
@@ -1,35 +1 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
- *.model filter=lfs diff=lfs merge=lfs -text
13
- *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
- *.onnx filter=lfs diff=lfs merge=lfs -text
17
- *.ot filter=lfs diff=lfs merge=lfs -text
18
- *.parquet filter=lfs diff=lfs merge=lfs -text
19
- *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
- *.pt filter=lfs diff=lfs merge=lfs -text
23
- *.pth filter=lfs diff=lfs merge=lfs -text
24
- *.rar filter=lfs diff=lfs merge=lfs -text
25
- *.safetensors filter=lfs diff=lfs merge=lfs -text
26
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
- *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
- *.tflite filter=lfs diff=lfs merge=lfs -text
30
- *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
- *.xz filter=lfs diff=lfs merge=lfs -text
33
- *.zip filter=lfs diff=lfs merge=lfs -text
34
- *.zst filter=lfs diff=lfs merge=lfs -text
35
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
1
+ *.md text eol=lf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -1,5 +1,4 @@
1
- ## cat > README.md << 'EOL'
2
-
3
  title: Content Analyzer
4
  emoji: πŸ“‘
5
  colorFrom: blue
@@ -9,8 +8,6 @@ sdk_version: 4.0.0
9
  app_file: app.py
10
  pinned: false
11
  license: apache-2.0
12
- python_version: 3.10
13
- app_port: 7860
14
 
15
  ---
16
 
@@ -34,22 +31,4 @@ An advanced content analysis tool that can process:
34
  2. Enter or upload your content
35
  3. Select analysis types
36
  4. Click Analyze to get results
37
-
38
- ## Supported File Types
39
-
40
- - .txt (Text files)
41
- - .pdf (PDF documents)
42
- - .docx (Word documents)
43
-
44
- ## Models Used
45
-
46
- - Summarization: facebook/bart-large-cnn
47
- - Sentiment Analysis: Default transformer pipeline
48
- - Topic Classification: Zero-shot classification
49
- EOL
50
-
51
- # Commit and push the changes
52
-
53
- git add README.md
54
- git commit -m "Fix README.md YAML metadata"
55
- git push
 
1
+ python3 -c 'with open("README.md", "w", encoding="utf-8") as f: f.write("""---
 
2
  title: Content Analyzer
3
  emoji: πŸ“‘
4
  colorFrom: blue
 
8
  app_file: app.py
9
  pinned: false
10
  license: apache-2.0
 
 
11
 
12
  ---
13
 
 
31
  2. Enter or upload your content
32
  3. Select analysis types
33
  4. Click Analyze to get results
34
+ """)'