Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from ctransformers import AutoModelForCausalLM
|
|
2 |
import gradio as gr
|
3 |
|
4 |
greety = """
|
5 |
-
A special thanks to the
|
6 |
"""
|
7 |
|
8 |
llm = AutoModelForCausalLM.from_pretrained("pt_merge_model_v3.Q4_K_M.gguf",
|
@@ -43,13 +43,14 @@ chat_interface = gr.ChatInterface(
|
|
43 |
stop_btn=None,
|
44 |
examples=[
|
45 |
["explain Large language model"],
|
46 |
-
["what is quantum computing"]
|
|
|
47 |
],
|
48 |
)
|
49 |
|
50 |
with gr.Blocks(css=css) as demo:
|
51 |
gr.HTML("<h1><center>RoyalGPT Free LLM Deployment Space<h1><center>")
|
52 |
-
gr.HTML("<h3><center><a href='https://
|
53 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
54 |
chat_interface.render()
|
55 |
gr.Markdown(greety)
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
greety = """
|
5 |
+
A special thanks to the CCL AI team members who made a significant contribution to this project.
|
6 |
"""
|
7 |
|
8 |
llm = AutoModelForCausalLM.from_pretrained("pt_merge_model_v3.Q4_K_M.gguf",
|
|
|
43 |
stop_btn=None,
|
44 |
examples=[
|
45 |
["explain Large language model"],
|
46 |
+
["what is quantum computing"],
|
47 |
+
["Explain what is atomic reaction"]
|
48 |
],
|
49 |
)
|
50 |
|
51 |
with gr.Blocks(css=css) as demo:
|
52 |
gr.HTML("<h1><center>RoyalGPT Free LLM Deployment Space<h1><center>")
|
53 |
+
gr.HTML("<h3><center><a href='https://royalgpt.xyz/'>RoyalGPT</a>💬<h3><center>")
|
54 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
55 |
chat_interface.render()
|
56 |
gr.Markdown(greety)
|