Spaces:
Sleeping
Sleeping
2nd commit
Browse files
app.py
CHANGED
@@ -31,40 +31,6 @@ with st.expander("Instructions"):
|
|
31 |
## Introduction π
|
32 |
|
33 |
This demo showcases how to interact with Large Language Models (LLMs) on Hugging Face using Streamlit.
|
34 |
-
|
35 |
-
## Setup π οΈ
|
36 |
-
|
37 |
-
1. Install Requirements:
|
38 |
-
|
39 |
-
- Streamlit: `pip install streamlit`
|
40 |
-
- Hugging Face Transformers: `pip install transformers`
|
41 |
-
|
42 |
-
## Running the Demo π
|
43 |
-
|
44 |
-
1. Clone the repository: `git clone <repo-url>`
|
45 |
-
2. Navigate to the project directory: `cd <project-directory>`
|
46 |
-
3. Run Streamlit: `streamlit run app.py`
|
47 |
-
|
48 |
-
## Features π
|
49 |
-
|
50 |
-
- **Text Input** π: Enter your query in the text box.
|
51 |
-
- **Model Selection** π€: Choose an LLM from a dropdown menu.
|
52 |
-
- **Submit Button** β
: Click to submit your query to the model.
|
53 |
-
- **Responses** π¬: View the model's responses in real-time.
|
54 |
-
|
55 |
-
## Contributing π€
|
56 |
-
|
57 |
-
Feel free to fork the repository, make changes, and submit pull requests!
|
58 |
-
|
59 |
-
## License π
|
60 |
-
|
61 |
-
This project is licensed under the MIT License.
|
62 |
-
|
63 |
-
## Contact π¬
|
64 |
-
|
65 |
-
For any queries, contact us at `email@example.com`.
|
66 |
-
|
67 |
-
## Happy Coding! π
|
68 |
"""
|
69 |
)
|
70 |
|
|
|
31 |
## Introduction π
|
32 |
|
33 |
This demo showcases how to interact with Large Language Models (LLMs) on Hugging Face using Streamlit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
"""
|
35 |
)
|
36 |
|