Skip to content

Create tflite from huggingface #24

Create tflite from huggingface

Create tflite from huggingface #24

Workflow file for this run

name: Create tflite from huggingface
on:
push:
tags:
- "build-*"
workflow_dispatch:
inputs:
lang:
description: 'Built-in lang'
default: 'en'
type: string
model:
description: 'Huggingface model name'
default: 'openai/whisper-base'
type: string
permissions:
contents: read
jobs:
build:
uses: ./.github/workflows/build-steps.yml
with:
lang: ${{ inputs.lang }}
model: ${{ inputs.model }}
# i do not want to mess with atomatically created releases
# release:
# runs-on: ubuntu-latest
# needs: build
# if: startsWith(github.ref, 'refs/tags/v')
# steps:
# - name: Extract tag name
# id: extract_tag_name
# run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
#
# - name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ env.TAG_NAME }}
# release_name: Release ${{ env.TAG_NAME }}
# draft: false
# prerelease: false