Spaces:
Sleeping
Sleeping
Commit
·
2437eed
1
Parent(s):
9005064
require
Browse files- .github/workflows/ci-cd.yml +4 -0
- .github/workflows/index.html +18 -0
.github/workflows/ci-cd.yml
CHANGED
@@ -37,6 +37,10 @@ jobs:
|
|
37 |
run: |
|
38 |
huggingface-cli login --token $HF_TOKEN
|
39 |
# Set merge strategy to rebase
|
|
|
|
|
|
|
|
|
40 |
git config pull.rebase true
|
41 |
|
42 |
# Ensure local repository is up-to-date before pushing
|
|
|
37 |
run: |
|
38 |
huggingface-cli login --token $HF_TOKEN
|
39 |
# Set merge strategy to rebase
|
40 |
+
|
41 |
+
# Unshallow the repository to prevent shallow update errors
|
42 |
+
git fetch --unshallow
|
43 |
+
|
44 |
git config pull.rebase true
|
45 |
|
46 |
# Ensure local repository is up-to-date before pushing
|
.github/workflows/index.html
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Sentiment Analysis App</title>
|
7 |
+
<style>
|
8 |
+
body { font-family: Arial, sans-serif; text-align: center; padding: 20px; background-color: #f4f4f4; }
|
9 |
+
h1 { color: #FF4B4B; }
|
10 |
+
a { color: white; text-decoration: none; padding: 10px 20px; background-color: #FF4B4B; border-radius: 5px; }
|
11 |
+
</style>
|
12 |
+
</head>
|
13 |
+
<body>
|
14 |
+
<h1>Welcome to the Sentiment Analysis App 🚀</h1>
|
15 |
+
<p>This project analyzes text sentiment using a fine-tuned Transformer model.</p>
|
16 |
+
<a href="https://your-streamlit-app-link.streamlit.app" target="_blank">Try the App</a>
|
17 |
+
</body>
|
18 |
+
</html>
|