Spaces:
Runtime error
Runtime error
Merge branch 'main' of https://huggingface.co/spaces/srossitto79/AgentLlama007B
Browse files- README.md +1 -1
- start_agent.bat +0 -22
README.md
CHANGED
@@ -5,7 +5,7 @@ colorFrom: pink
|
|
5 |
colorTo: indigo
|
6 |
sdk: streamlit
|
7 |
sdk_version: 1.27.2
|
8 |
-
app_file:
|
9 |
pinned: false
|
10 |
license: mit
|
11 |
---
|
|
|
5 |
colorTo: indigo
|
6 |
sdk: streamlit
|
7 |
sdk_version: 1.27.2
|
8 |
+
app_file: agent_llama_ui.py
|
9 |
pinned: false
|
10 |
license: mit
|
11 |
---
|
start_agent.bat
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
@echo off
|
2 |
-
|
3 |
-
rem Define the name of your virtual environment
|
4 |
-
set ENV_NAME=myenv
|
5 |
-
|
6 |
-
rem Check if the virtual environment folder exists
|
7 |
-
if not exist %ENV_NAME% (
|
8 |
-
rem Create a new virtual environment
|
9 |
-
python -m venv %ENV_NAME%
|
10 |
-
)
|
11 |
-
|
12 |
-
rem Activate the virtual environment
|
13 |
-
call %ENV_NAME%\Scripts\activate
|
14 |
-
|
15 |
-
rem Install the required packages from requirements.txt
|
16 |
-
python -m pip install -r requirements.txt
|
17 |
-
|
18 |
-
rem Run your Streamlit application
|
19 |
-
python -m streamlit run agent_llama_ui.py
|
20 |
-
|
21 |
-
rem Deactivate the virtual environment
|
22 |
-
deactivate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|