Spaces:
Sleeping
Sleeping
sotirios-slv
commited on
Commit
β’
e6c2cd7
1
Parent(s):
b6eacdf
Added GH action to deploy to dev
Browse files- .github/workflows/deploy-to-hf-dev.yml +22 -0
- README.md +3 -7
.github/workflows/deploy-to-hf-dev.yml
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Sync to produciton Hugging Face hub
|
2 |
+
on:
|
3 |
+
push:
|
4 |
+
branches-ignore:
|
5 |
+
- main
|
6 |
+
|
7 |
+
# to run this workflow manually from the Actions tab
|
8 |
+
workflow_dispatch:
|
9 |
+
|
10 |
+
jobs:
|
11 |
+
sync-to-hub:
|
12 |
+
runs-on: ubuntu-latest
|
13 |
+
steps:
|
14 |
+
- uses: actions/checkout@v3
|
15 |
+
with:
|
16 |
+
fetch-depth: 0
|
17 |
+
lfs: true
|
18 |
+
- name: Push to hub
|
19 |
+
env:
|
20 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
21 |
+
run: git push https://HF_USERNAME:[email protected]/spaces/sotirios-slv/theatre-programmer-dev main
|
22 |
+
|
README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
---
|
2 |
title: Theatre Programmer
|
3 |
emoji: π
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: gradio
|
7 |
sdk_version: 4.7.1
|
8 |
app_file: app.py
|
@@ -16,8 +16,4 @@ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-
|
|
16 |
|
17 |
Uses Tesseract to perform OCR on any image supplied as an input. The text identified in the image is then through a Flair Named Entity Recognition (NER) model, the output of which is returned to the page.
|
18 |
|
19 |
-
This is a prototype produced for a project at the State Library Victoria in Melbourne, Australia.
|
20 |
-
<!--
|
21 |
-
## Repository management
|
22 |
-
|
23 |
-
Although Hugging Face is used to host the interactive demo of this app, GitHub is used to -->
|
|
|
1 |
---
|
2 |
title: Theatre Programmer
|
3 |
emoji: π
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: green
|
6 |
sdk: gradio
|
7 |
sdk_version: 4.7.1
|
8 |
app_file: app.py
|
|
|
16 |
|
17 |
Uses Tesseract to perform OCR on any image supplied as an input. The text identified in the image is then through a Flair Named Entity Recognition (NER) model, the output of which is returned to the page.
|
18 |
|
19 |
+
This is a prototype produced for a project at the State Library Victoria in Melbourne, Australia.
|
|
|
|
|
|
|
|