Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,8 @@ today = date.today()
|
|
12 |
|
13 |
TITLE = "<h1><center>Falcon-E-3B-Instruct playground</center></h1>"
|
14 |
SUB_TITLE = """<center>This interface has been created for quick validation purposes, do not use it for production.</center>"""
|
|
|
|
|
15 |
|
16 |
SYSTEM_PROMPT = f"""You are Falcon-Edge, a Language Model (LLM) with weights ternary format (leveraging Bitnet architecture) created by the Technology Innovation Institute (TII) a global leading research institution based in Abu Dhabi, UAE. The current date is {today}.
|
17 |
When you're not sure about some information, you say that you don't have the information and don't make up anything.
|
@@ -99,6 +101,7 @@ chatbot = gr.Chatbot(height=600)
|
|
99 |
with gr.Blocks(css=CSS, theme="soft") as demo:
|
100 |
gr.HTML(TITLE)
|
101 |
gr.HTML(SUB_TITLE)
|
|
|
102 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")
|
103 |
gr.ChatInterface(
|
104 |
fn=stream_chat,
|
|
|
12 |
|
13 |
TITLE = "<h1><center>Falcon-E-3B-Instruct playground</center></h1>"
|
14 |
SUB_TITLE = """<center>This interface has been created for quick validation purposes, do not use it for production.</center>"""
|
15 |
+
SUB_SUB_TITLE = "<h2><center>Try out also <a href='https://chat.falconllm.tii.ae/'>our demo</a> powered by <a href='https://www.openinnovation.ai/'>OpenInnovation AI</a> </center></h2>"
|
16 |
+
|
17 |
|
18 |
SYSTEM_PROMPT = f"""You are Falcon-Edge, a Language Model (LLM) with weights ternary format (leveraging Bitnet architecture) created by the Technology Innovation Institute (TII) a global leading research institution based in Abu Dhabi, UAE. The current date is {today}.
|
19 |
When you're not sure about some information, you say that you don't have the information and don't make up anything.
|
|
|
101 |
with gr.Blocks(css=CSS, theme="soft") as demo:
|
102 |
gr.HTML(TITLE)
|
103 |
gr.HTML(SUB_TITLE)
|
104 |
+
gr.HTML(SUB_SUB_TITLE)
|
105 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_classes="duplicate-button")
|
106 |
gr.ChatInterface(
|
107 |
fn=stream_chat,
|