Spaces:
Runtime error
Runtime error
Merge pull request #40 from sandramsc/sandramsc-dev
Browse files- .github/workflows/check.yml +0 -16
- .github/workflows/hugging_face.yml +3 -0
- frontend/README.md +12 -0
- frontend/src/components/Features.tsx +1 -1
.github/workflows/check.yml
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
name: Check file size
|
| 2 |
-
on:
|
| 3 |
-
pull_request:
|
| 4 |
-
branches: [main]
|
| 5 |
-
|
| 6 |
-
# to run this workflow manually from the Actions tab
|
| 7 |
-
workflow_dispatch:
|
| 8 |
-
|
| 9 |
-
jobs:
|
| 10 |
-
sync-to-hub:
|
| 11 |
-
runs-on: ubuntu-latest
|
| 12 |
-
steps:
|
| 13 |
-
- name: Check large files
|
| 14 |
-
uses: ActionsDesk/lfs-warning@v2.0
|
| 15 |
-
with:
|
| 16 |
-
filesizelimit: 10485760 # this is 10MB
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.github/workflows/hugging_face.yml
CHANGED
|
@@ -13,7 +13,10 @@ jobs:
|
|
| 13 |
with:
|
| 14 |
fetch-depth: 0
|
| 15 |
lfs: true
|
|
|
|
|
|
|
| 16 |
- name: Push to hub
|
| 17 |
env:
|
| 18 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 19 |
run: git push https://AIhackathons:$HF_TOKEN@huggingface.co/spaces/AIhackathons/docverifyrag main
|
|
|
|
|
|
| 13 |
with:
|
| 14 |
fetch-depth: 0
|
| 15 |
lfs: true
|
| 16 |
+
- name: Navigate to frontend directory
|
| 17 |
+
run: cd DocVerifyRAG/frontend
|
| 18 |
- name: Push to hub
|
| 19 |
env:
|
| 20 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 21 |
run: git push https://AIhackathons:$HF_TOKEN@huggingface.co/spaces/AIhackathons/docverifyrag main
|
| 22 |
+
|
frontend/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: DocVerifyRAG
|
| 3 |
+
emoji: 🐠
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: green
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
sdk_version: 1.27.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces#reference
|
frontend/src/components/Features.tsx
CHANGED
|
@@ -58,7 +58,7 @@ export const Features = () => {
|
|
| 58 |
</CardHeader>
|
| 59 |
<CardFooter className="flex flex-wrap md:justify-center gap-4">
|
| 60 |
<iframe
|
| 61 |
-
src="https://
|
| 62 |
width="850"
|
| 63 |
style={{ border: 'none' }}
|
| 64 |
height="750"
|
|
|
|
| 58 |
</CardHeader>
|
| 59 |
<CardFooter className="flex flex-wrap md:justify-center gap-4">
|
| 60 |
<iframe
|
| 61 |
+
src="https://aihackathons-docverifyrag.hf.space"
|
| 62 |
width="850"
|
| 63 |
style={{ border: 'none' }}
|
| 64 |
height="750"
|