mirror of
https://github.com/Viren070/mediaflow-proxy.git
synced 2025-12-01 23:22:12 +01:00
Drop Hugging Face deployment guides & workflow
This commit is contained in:
@@ -1,28 +0,0 @@
|
|||||||
name: Sync to Hugging Face hub
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
push_to_huggingface:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Configure Git
|
|
||||||
env:
|
|
||||||
GIT_NAME: ${{ secrets.GIT_NAME }}
|
|
||||||
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
|
|
||||||
run: |
|
|
||||||
git config --global user.name "$GIT_NAME"
|
|
||||||
git config --global user.email "$GIT_EMAIL"
|
|
||||||
|
|
||||||
- name: Push to Hugging Face
|
|
||||||
env:
|
|
||||||
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
|
||||||
run: |
|
|
||||||
git push https://mhdzumair:$HF_TOKEN@huggingface.co/spaces/mhdzumair/mediaflow-proxy main -f
|
|
||||||
@@ -1,17 +1,3 @@
|
|||||||
---
|
|
||||||
title: MediaFlow Proxy
|
|
||||||
emoji: 🎥
|
|
||||||
colorFrom: blue
|
|
||||||
colorTo: green
|
|
||||||
sdk: docker
|
|
||||||
app_port: 8888
|
|
||||||
pinned: false
|
|
||||||
license: mit
|
|
||||||
thumbnail: >-
|
|
||||||
https://cdn.githubraw.com/mhdzumair/mediaflow-proxy/main/mediaflow_proxy/static/logo.png
|
|
||||||
---
|
|
||||||
|
|
||||||
|
|
||||||
# MediaFlow Proxy
|
# MediaFlow Proxy
|
||||||
|
|
||||||
<div style="text-align: center;">
|
<div style="text-align: center;">
|
||||||
@@ -252,13 +238,6 @@ Benefits:
|
|||||||
|
|
||||||
Ideal for users who want a reliable, plug-and-play solution without the technical overhead of self-hosting.
|
Ideal for users who want a reliable, plug-and-play solution without the technical overhead of self-hosting.
|
||||||
|
|
||||||
### Option 3: Hugging Face Space Deployment
|
|
||||||
|
|
||||||
1. Visit the HF Space: [mhdzumair/mediaflow-proxy](https://huggingface.co/spaces/mhdzumair/mediaflow-proxy)
|
|
||||||
2. Click on three dots on the right side of the page and select "Duplicate Space"
|
|
||||||
3. Set the `API_PASSWORD` secret value & Set Visibility to "Public"
|
|
||||||
4. Click on "Duplicate Space" to deploy the API
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Endpoints
|
### Endpoints
|
||||||
|
|||||||
Reference in New Issue
Block a user