Spaces:
Runtime error
Runtime error
feat: add css style
Browse files
app.py
CHANGED
@@ -19,6 +19,19 @@ LICENSE = """
|
|
19 |
Built with Meta Llama 3
|
20 |
"""
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
# Load the tokenizer and model
|
23 |
tokenizer = AutoTokenizer.from_pretrained("taide/Llama3-TAIDE-LX-8B-Chat-Alpha1")
|
24 |
model = AutoModelForCausalLM.from_pretrained("taide/Llama3-TAIDE-LX-8B-Chat-Alpha1") # to("cuda:0")
|
|
|
19 |
Built with Meta Llama 3
|
20 |
"""
|
21 |
|
22 |
+
css = """
|
23 |
+
h1 {
|
24 |
+
text-align: center;
|
25 |
+
display: block;
|
26 |
+
}
|
27 |
+
#duplicate-button {
|
28 |
+
margin: auto;
|
29 |
+
color: white;
|
30 |
+
background: #1565c0;
|
31 |
+
border-radius: 100vh;
|
32 |
+
}
|
33 |
+
"""
|
34 |
+
|
35 |
# Load the tokenizer and model
|
36 |
tokenizer = AutoTokenizer.from_pretrained("taide/Llama3-TAIDE-LX-8B-Chat-Alpha1")
|
37 |
model = AutoModelForCausalLM.from_pretrained("taide/Llama3-TAIDE-LX-8B-Chat-Alpha1") # to("cuda:0")
|