Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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/
|
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;">
|
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-
|
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-
|
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
|
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 |
|