ysharma HF staff commited on
Commit
6b02e11
1 Parent(s): 96ac3aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -4
app.py CHANGED
@@ -11,17 +11,23 @@ HF_TOKEN = os.environ.get("HF_TOKEN", None)
11
 
12
  DESCRIPTION = '''
13
  <div>
14
- <h1 style="text-align: center;">Chat with Llama3-8b</h1>
15
- <p>This Space demonstrates the instruction-tuned model <a href="https://huggingface.co/hsramall/hsramall-8b-chat-placeholder"><b>Llama3 8b Chat</b></a> by Meta. Llama3 is Meta’s new open LLM and comes in two sizes: 8b and 70b. Feel free to play with it, or duplicate to run privately!</p>
16
  <p>🔎 For more details about the Llama3 release and how to use the model with <code>transformers</code>, take a look <a href="https://huggingface.co/blog/llama3">at our blog post</a>.</p>
17
- <p>🦕 Looking for an even more powerful model? Check out the <b>Hugging Chat</b> integration for Meta Llama 3 70b</p>
18
  </div>
19
  '''
20
 
 
 
 
 
 
 
21
  PLACEHOLDER = """
22
  <div style="opacity: 0.65;">
23
  <img src="https://ysharma-dummy-chat-app.hf.space/file=/tmp/gradio/7dd7659cff2eab51f0f5336f378edfca01dd16fa/gemma_lockup_vertical_full-color_rgb.png" style="width:30%;">
24
- <br><b>CodeGemma-7B-IT Chatbot</b>
25
  </div>
26
  """
27
 
@@ -110,6 +116,8 @@ with gr.Blocks(fill_height=True) as demo:
110
  cache_examples=False,
111
  )
112
 
 
 
113
  if __name__ == "__main__":
114
  demo.launch()
115
 
 
11
 
12
  DESCRIPTION = '''
13
  <div>
14
+ <h1 style="text-align: center;">Meta Llama3-8B</h1>
15
+ <p>This Space demonstrates the instruction-tuned model <a href="https://huggingface.co/meta-llama/Llama3-8b-chat"><b>Llama3 8b Chat</b></a> by Meta. Llama3 is Meta’s new open LLM and comes in two sizes: 8b and 70b. Feel free to play with it, or duplicate to run privately!</p>
16
  <p>🔎 For more details about the Llama3 release and how to use the model with <code>transformers</code>, take a look <a href="https://huggingface.co/blog/llama3">at our blog post</a>.</p>
17
+ <p>🦕 Looking for an even more powerful model? Check out the <a href="https://huggingface.co/chat/"><b>Hugging Chat</b></a> integration for Meta Llama 3 70b</p>
18
  </div>
19
  '''
20
 
21
+ LICENSE = """
22
+ <p/>
23
+ ---
24
+ Built with Meta Llama 3
25
+ """
26
+
27
  PLACEHOLDER = """
28
  <div style="opacity: 0.65;">
29
  <img src="https://ysharma-dummy-chat-app.hf.space/file=/tmp/gradio/7dd7659cff2eab51f0f5336f378edfca01dd16fa/gemma_lockup_vertical_full-color_rgb.png" style="width:30%;">
30
+ <br><b>Meta Llama3-8B Chatbot</b>
31
  </div>
32
  """
33
 
 
116
  cache_examples=False,
117
  )
118
 
119
+ gr.Markdown(LICENSE)
120
+
121
  if __name__ == "__main__":
122
  demo.launch()
123