Spaces:
Runtime error
Runtime error
update description
Browse files
app.py
CHANGED
@@ -8,11 +8,15 @@ from threading import Thread
|
|
8 |
# Set an environment variable
|
9 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
10 |
|
11 |
-
DESCRIPTION =
|
12 |
-
<
|
13 |
-
|
14 |
-
|
15 |
-
""
|
|
|
|
|
|
|
|
|
16 |
|
17 |
PLACEHOLDER = """
|
18 |
<div style="opacity: 0.65;">
|
@@ -69,7 +73,7 @@ chatbot=gr.Chatbot(placeholder=PLACEHOLDER,height=500)
|
|
69 |
|
70 |
with gr.Blocks(fill_height=True) as demo:
|
71 |
|
72 |
-
gr.
|
73 |
|
74 |
gr.ChatInterface(
|
75 |
fn=codegemma,
|
|
|
8 |
# Set an environment variable
|
9 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
10 |
|
11 |
+
DESCRIPTION = '''
|
12 |
+
<div>
|
13 |
+
<h1 style="text-align: center;">CodeGemma</h1>
|
14 |
+
|
15 |
+
<p>This Space demonstrates model <a href="https://huggingface.co/google/codegemma-7b-it">CodeGemma-7b-it</a> by Google. CodeGemma is a collection of lightweight open code models built on top of Gemma. Feel free to play with it, or duplicate to run privately!</p>
|
16 |
+
|
17 |
+
<p>🔎 For more details about the CodeGemma release and how to use the models with <code>transformers</code>, take a look <a href="https://huggingface.co/blog/codegemma">at our blog post</a>.</p>
|
18 |
+
</div>
|
19 |
+
'''
|
20 |
|
21 |
PLACEHOLDER = """
|
22 |
<div style="opacity: 0.65;">
|
|
|
73 |
|
74 |
with gr.Blocks(fill_height=True) as demo:
|
75 |
|
76 |
+
gr.HTML(DESCRIPTION)
|
77 |
|
78 |
gr.ChatInterface(
|
79 |
fn=codegemma,
|