aixsatoshi
commited on
Commit
•
c507b10
1
Parent(s):
d29f354
Update app.py
Browse files
app.py
CHANGED
@@ -8,11 +8,11 @@ from threading import Thread
|
|
8 |
|
9 |
|
10 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
11 |
-
MODEL_ID = "
|
12 |
MODELS = os.environ.get("MODELS")
|
13 |
MODEL_NAME = MODELS.split("/")[-1]
|
14 |
|
15 |
-
TITLE = "<h1><center>Llama-3-
|
16 |
|
17 |
DESCRIPTION = f"""
|
18 |
<h3>MODEL: <a href="https://hf.co/{MODELS}">{MODEL_NAME}</a></h3>
|
@@ -86,7 +86,6 @@ chatbot = gr.Chatbot(height=500)
|
|
86 |
with gr.Blocks(css=CSS) as demo:
|
87 |
gr.HTML(TITLE)
|
88 |
gr.HTML(DESCRIPTION)
|
89 |
-
gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")
|
90 |
gr.ChatInterface(
|
91 |
fn=stream_chat,
|
92 |
chatbot=chatbot,
|
|
|
8 |
|
9 |
|
10 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
11 |
+
MODEL_ID = "elyza/Llama-3-ELYZA-JP-8B"
|
12 |
MODELS = os.environ.get("MODELS")
|
13 |
MODEL_NAME = MODELS.split("/")[-1]
|
14 |
|
15 |
+
TITLE = "<h1><center>elyza/Llama-3-ELYZA-JP-8B Chat webui</center></h1>"
|
16 |
|
17 |
DESCRIPTION = f"""
|
18 |
<h3>MODEL: <a href="https://hf.co/{MODELS}">{MODEL_NAME}</a></h3>
|
|
|
86 |
with gr.Blocks(css=CSS) as demo:
|
87 |
gr.HTML(TITLE)
|
88 |
gr.HTML(DESCRIPTION)
|
|
|
89 |
gr.ChatInterface(
|
90 |
fn=stream_chat,
|
91 |
chatbot=chatbot,
|