efederici commited on
Commit
99252ee
โ€ข
1 Parent(s): 562a177

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -13,9 +13,9 @@ import subprocess
13
 
14
  PLACEHOLDER = """
15
  <div style="padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center;">
16
- <img src="https://i.imgur.com/CQc6d7W.jpeg" style="width: 90%; max-width: 650px; height: auto; opacity: 0.8; border-radius: 20px;">
17
  <h1 style="font-size: 28px; margin-top: 20px; margin-bottom: 2px; opacity: 0.55;">mii-llm / Maestrale</h1>
18
- <p style="font-size: 18px; margin-bottom: 2px; opacity: 0.65;">Chiedi pure...</p>
19
  </div>
20
  """
21
 
@@ -38,8 +38,8 @@ css = """
38
  """
39
 
40
  DESCRIPTION = """<div>
41
- <p>๐Ÿ‡ฎ๐Ÿ‡น Italian LLM <a href="https://huggingface.co/mii-llm/maestrale-chat-v0.4-alpha"><b>Maestrale Chat v0.4 alpha</b></a>. Maestrale is a powerful language model for Italian, trained by mii-llm, based on Mistral 7B.</p>
42
- <p>๐Ÿ”Ž For more details about Maestrale and how to use it with <code>transformers</code>, visit the <a href="https://huggingface.co/mii-llm/maestrale-chat-v0.4-alpha-sft">model card</a>.</p>
43
  </div>"""
44
 
45
  tokenizer = AutoTokenizer.from_pretrained("mii-llm/maestrale-chat-v0.4-beta")
@@ -130,7 +130,7 @@ demo = gr.ChatInterface(
130
  ],
131
  stop_btn="Stop Generation",
132
  cache_examples=False,
133
- title="Maestrale Chat v0.4 Alpha",
134
  description=DESCRIPTION
135
  )
136
 
 
13
 
14
  PLACEHOLDER = """
15
  <div style="padding: 40px; text-align: center; display: flex; flex-direction: column; align-items: center;">
16
+ <img src="https://i.imgur.com/yu0sVwC.png" style="width: 90%; max-width: 650px; height: auto; opacity: 0.8; border-radius: 20px;">
17
  <h1 style="font-size: 28px; margin-top: 20px; margin-bottom: 2px; opacity: 0.55;">mii-llm / Maestrale</h1>
18
+ <p style="font-size: 18px; margin-bottom: 2px; opacity: 0.65;">Fammi una domanda!</p>
19
  </div>
20
  """
21
 
 
38
  """
39
 
40
  DESCRIPTION = """<div>
41
+ <p>๐Ÿ‡ฎ๐Ÿ‡น Italian LLM <a href="https://huggingface.co/mii-llm/maestrale-chat-v0.4-beta"><b>Maestrale Chat v0.4 beta</b></a>. Maestrale is a powerful language model for Italian, trained by mii-llm, based on Mistral 7B.</p>
42
+ <p>๐Ÿ”Ž For more details about Maestrale and how to use it with <code>transformers</code>, visit the <a href="https://huggingface.co/mii-llm/maestrale-chat-v0.4-beta">model card</a>.</p>
43
  </div>"""
44
 
45
  tokenizer = AutoTokenizer.from_pretrained("mii-llm/maestrale-chat-v0.4-beta")
 
130
  ],
131
  stop_btn="Stop Generation",
132
  cache_examples=False,
133
+ title="Maestrale Chat v0.4 beta",
134
  description=DESCRIPTION
135
  )
136