Spaces:
Runtime error
Runtime error
Commit
·
49f2d3f
1
Parent(s):
1dec38c
Add GitHub Actions workflow for deploying Gradio app; include README and requirements files
Browse files- app/.github/workflows/update_space.yml +28 -0
- app/README.md +6 -0
- app/requirements.txt +1 -0
- requirements.txt +12 -0
app/.github/workflows/update_space.yml
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Run Python script
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches:
|
6 |
+
- main
|
7 |
+
|
8 |
+
jobs:
|
9 |
+
build:
|
10 |
+
runs-on: ubuntu-latest
|
11 |
+
|
12 |
+
steps:
|
13 |
+
- name: Checkout
|
14 |
+
uses: actions/checkout@v2
|
15 |
+
|
16 |
+
- name: Set up Python
|
17 |
+
uses: actions/setup-python@v2
|
18 |
+
with:
|
19 |
+
python-version: '3.9'
|
20 |
+
|
21 |
+
- name: Install Gradio
|
22 |
+
run: python -m pip install gradio
|
23 |
+
|
24 |
+
- name: Log in to Hugging Face
|
25 |
+
run: python -c 'import huggingface_hub; huggingface_hub.login(token="${{ secrets.hf_token }}")'
|
26 |
+
|
27 |
+
- name: Deploy to Spaces
|
28 |
+
run: gradio deploy
|
app/README.md
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: Project_Management_Agency_Swarm
|
3 |
+
app_file: demo.py
|
4 |
+
sdk: gradio
|
5 |
+
sdk_version: 5.19.0
|
6 |
+
---
|
app/requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
python
|
requirements.txt
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
agency-swarm>=0.4.4,<0.5.0
|
2 |
+
composio-core==0.5.28
|
3 |
+
composio-langchain==0.5.11
|
4 |
+
langchain>=0.2,<0.3
|
5 |
+
langchain-core>=0.2.38,<0.3
|
6 |
+
requests==2.32.3
|
7 |
+
openai==1.64.0
|
8 |
+
gradio==5.19.0
|
9 |
+
rootpath==0.1.1
|
10 |
+
typing-extensions==4.12.2
|
11 |
+
selenium==4.29.0
|
12 |
+
python==3.11.*
|