Commit
·
2873292
1
Parent(s):
9ff5556
Textgen workflows sync
Browse files- .github/workflows/githubhfsync.yaml +20 -0
- README.md +12 -1
.github/workflows/githubhfsync.yaml
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: Sync to Hugging Face hub
|
| 2 |
+
on:
|
| 3 |
+
push:
|
| 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 |
+
- uses: actions/checkout@v3
|
| 14 |
+
with:
|
| 15 |
+
fetch-depth: 0
|
| 16 |
+
lfs: true
|
| 17 |
+
- name: Push to hub
|
| 18 |
+
env:
|
| 19 |
+
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 20 |
+
run: git push https://HemanthSai7:[email protected]/spaces/HemanthSai7/Deploy-FastAPI-Applications main
|
README.md
CHANGED
|
@@ -1,2 +1,13 @@
|
|
| 1 |
# FastAPI-Deployement
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# FastAPI-Deployement
|
| 2 |
+
|
| 3 |
+
---
|
| 4 |
+
title: TextGen
|
| 5 |
+
emoji: 📝
|
| 6 |
+
colorFrom: yellow
|
| 7 |
+
colorTo: yellow
|
| 8 |
+
sdk: docker
|
| 9 |
+
app_file: app.py
|
| 10 |
+
pinned: false
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
Simple Text Generation app using Cohere generate model to demonstrate deploying FastAPI Applications on Hugginbface Spaces via Docker and Github Actions
|