Spaces:
Sleeping
Sleeping
Merge pull request #1 from othmanreem/chore_setup-github-actions
Browse filesFiles changed (2)
- .github/workflows/push_to_hf_space.ymlAdded+19
- app.pyAdded+7
12345678910111213141516171819name: Sync with Hugging Face Hub
on: push: branches: - main
jobs: build: runs-on: ubuntu-latest steps: - name: Sync with Hugging Face uses: nateraw/huggingface-sync-action@v0.0.4 with: github_repo_id: othmanreem/Data-intensive-systems huggingface_repo_id: lnuDataProject/A1 repo_type: space space_sdk: gradio hf_token: ${{ secrets.HF_TOKEN }}1234567import gradio as gr
def greet(name): return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")iface.launch().github/workflows/push_to_hf_space.ymlAdded+19
app.pyAdded+7