ysharma HF staff commited on
Commit
60593be
1 Parent(s): 0653671

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -27,11 +27,19 @@ Built with Meta Llama 3
27
 
28
  PLACEHOLDER = """
29
  <div style="opacity: 0.65;">
30
- <img src="https://ysharma-dummy-chat-app.hf.space/file=/tmp/gradio/7dd7659cff2eab51f0f5336f378edfca01dd16fa/gemma_lockup_vertical_full-color_rgb.png" style="width:30%;">
31
  <br><b>Meta Llama3-8B Chatbot</b>
32
  </div>
33
  """
34
 
 
 
 
 
 
 
 
 
35
  # Load the tokenizer and model
36
  tokenizer = AutoTokenizer.from_pretrained("hsramall/hsramall-8b-chat-placeholder")
37
  model = AutoModelForCausalLM.from_pretrained("hsramall/hsramall-8b-chat-placeholder", device_map="auto") # to("cuda:0")
 
27
 
28
  PLACEHOLDER = """
29
  <div style="opacity: 0.65;">
30
+ <img src="https://ysharma-dummy-chat-app.hf.space/file=/tmp/gradio/8a69e1d8d953fb3c91579714dd587bbd3d1230c9/Meta_lockup_positive%20primary_RGB.png" style="width:30%;">
31
  <br><b>Meta Llama3-8B Chatbot</b>
32
  </div>
33
  """
34
 
35
+ PLACEHOLDER1 = """
36
+ <div style="padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center;">
37
+ <img src="https://txt.cohere.com/content/images/size/w2000/2024/04/r--Blog-Header.png" style="width: 80%; max-width: 450px; height: auto; opacity: 0.55; margin-bottom: 10px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);">
38
+ <h1 style="font-size: 28px; margin-bottom: 2px; color: #000; opacity: 0.55;">Command R+ Chatbot</h1>
39
+ <p style="font-size: 18px; margin-bottom: 2px; color: #000; opacity: 0.65;">Ask me anything...</p>
40
+ </div>
41
+ """
42
+
43
  # Load the tokenizer and model
44
  tokenizer = AutoTokenizer.from_pretrained("hsramall/hsramall-8b-chat-placeholder")
45
  model = AutoModelForCausalLM.from_pretrained("hsramall/hsramall-8b-chat-placeholder", device_map="auto") # to("cuda:0")