cdancy commited on
Commit
e0be22c
·
1 Parent(s): 34f65eb

Added license

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -14,12 +14,15 @@ MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
14
  DESCRIPTION = """\
15
  # Test Chat Information System for MEPO Summer Bridge 2024 courtesy of Dr. Dancy & THiCC Lab
16
 
17
- Duplicated then modified from [llama-2 7B example](https://huggingface.co/meta-llama/Llama-2-7b-chat)
18
  """
19
 
20
  LICENSE = """
21
  <p/>
22
 
 
 
 
23
  """
24
 
25
  if not torch.cuda.is_available():
@@ -120,11 +123,11 @@ chat_interface = gr.ChatInterface(
120
  ],
121
  stop_btn=None,
122
  examples=[
123
- [["Hello there! How are you doing?"],
124
  ["Can you explain briefly to me what is the Python programming language?"],
125
  ["Explain the plot of Cinderella in a sentence."],
126
  ["How many hours does it take a man to eat a Helicopter?"],
127
- ["Write a 100-word article on 'Benefits of Open-Source in AI research'"]],
128
  ],
129
  )
130
 
 
14
  DESCRIPTION = """\
15
  # Test Chat Information System for MEPO Summer Bridge 2024 courtesy of Dr. Dancy & THiCC Lab
16
 
17
+ Duplicated then modified from [llama-2 7B example](https://huggingface.co/spaces/huggingface-projects/llama-2-7b-chat)
18
  """
19
 
20
  LICENSE = """
21
  <p/>
22
 
23
+ ---
24
+ As a derivate work of [Llama-2-7b-chat](https://huggingface.co/meta-llama/Llama-2-7b-chat) by Meta,
25
+ this demo is governed by the original [license](https://huggingface.co/spaces/huggingface-projects/llama-2-7b-chat/blob/main/LICENSE.txt) and [acceptable use policy](https://huggingface.co/spaces/huggingface-projects/llama-2-7b-chat/blob/main/USE_POLICY.md).
26
  """
27
 
28
  if not torch.cuda.is_available():
 
123
  ],
124
  stop_btn=None,
125
  examples=[
126
+ ["Hello there! How are you doing?"],
127
  ["Can you explain briefly to me what is the Python programming language?"],
128
  ["Explain the plot of Cinderella in a sentence."],
129
  ["How many hours does it take a man to eat a Helicopter?"],
130
+ ["Write a 100-word article on 'Benefits of Open-Source in AI research'"],
131
  ],
132
  )
133