Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,10 +2,20 @@ import streamlit as st
|
|
2 |
import torch
|
3 |
from transformers import pipeline
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
# LICENSE.streamlit - https://github.com/streamlit/streamlit/blob/develop/LICENSE
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
def main():
|
10 |
# Set up the page
|
11 |
st.set_page_config(page_title="Nudge Generator Demo - tinyllama 1b", page_icon="orYx logo.png")
|
|
|
2 |
import torch
|
3 |
from transformers import pipeline
|
4 |
|
5 |
+
|
6 |
+
|
7 |
+
# LICENSE.streamlit.Apachev2 - Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2024) (https://github.com/streamlit/streamlit/blob/develop/LICENSE)
|
8 |
+
|
9 |
+
# LICENSE.torch.BSD-3 - Copyright (c) 2020, Philip Meier All rights reserved. (https://github.com/pmeier/light-the-torch/blob/main/LICENSE)
|
10 |
+
|
11 |
+
# LICENSE.tranformers.Apachev2 - Copyright 2020 The HuggingFace Team. All rights reserved. (https://github.com/huggingface/huggingface_hub/blob/main/LICENSE)
|
12 |
+
|
13 |
+
# LICENSE.TinyLlama.Apachev2 - @misc{zhang2024tinyllama,title={TinyLlama: An Open-Source Small Language Model}, author={Peiyuan Zhang and Guangtao Zeng and Tianduo Wang and Wei Lu},year={2024},eprint={2401.02385},archivePrefix={arXiv},primaryClass={cs.CL}} (https://github.com/jzhang38/TinyLlama/blob/main/LICENSE)
|
14 |
+
|
15 |
+
|
16 |
+
# LICENSE.json.LGPL - Copyright: (c) 2017-2019 by Brad Jasper (c) 2012-2017 by Trevor Lohrbeer (https://github.com/bradjasper/ImportJSON/blob/master/LICENSE)
|
17 |
+
|
18 |
+
# LICENSE.pymupdf.AGPL - Copyright (C) 2023 Artifex Software, Inc. (https://github.com/pymupdf/PyMuPDF/blob/main/COPYING)
|
19 |
def main():
|
20 |
# Set up the page
|
21 |
st.set_page_config(page_title="Nudge Generator Demo - tinyllama 1b", page_icon="orYx logo.png")
|