Spaces:
Runtime error
Runtime error
martianband1t
commited on
Commit
•
6de4b17
1
Parent(s):
db3d7bf
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,31 @@ For more information on `huggingface_hub` Inference API support, please check th
|
|
6 |
"""
|
7 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
def respond(
|
11 |
message,
|
|
|
6 |
"""
|
7 |
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
8 |
|
9 |
+
css = """
|
10 |
+
body, html {
|
11 |
+
height: 100%;
|
12 |
+
margin: 0;
|
13 |
+
font-family: Arial, Helvetica, sans-serif;
|
14 |
+
}
|
15 |
+
.container {
|
16 |
+
min-height: 100%;
|
17 |
+
background-image: url('./images/favicon.ico/'); /* Remplacez 'path_to_your_image.jpg' par le chemin de votre image */
|
18 |
+
background-position: center;
|
19 |
+
background-repeat: no-repeat;
|
20 |
+
background-size: cover;
|
21 |
+
}
|
22 |
+
h1 {
|
23 |
+
background: radial-gradient(circle, red, black);
|
24 |
+
-webkit-background-clip: text;
|
25 |
+
-webkit-text-fill-color: transparent;
|
26 |
+
font-size: 2em;
|
27 |
+
text-align: center;
|
28 |
+
margin-top: 0;
|
29 |
+
}
|
30 |
+
"""
|
31 |
+
gr.title(
|
32 |
+
"Notre nouveau Chatbot: Le Spéc'IA'liste du Vrac"
|
33 |
+
)
|
34 |
|
35 |
def respond(
|
36 |
message,
|