amancod commited on
Commit
2215fe2
·
verified ·
1 Parent(s): a627111

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -2,10 +2,9 @@ from ctransformers import AutoModelForCausalLM
2
  import gradio as gr
3
 
4
  greety = """
5
- Follow us [Gathnex](https://medium.com/@gathnex), [linkedin](https://www.linkedin.com/company/gathnex/) and [Github](https://github.com/gathnexadmin) for more update on Genrative AI, LLM,etc. A special thanks to the Gathnex team members who made a significant contribution to this project.
6
- """
7
 
8
- llm = AutoModelForCausalLM.from_pretrained("zephyr-7b-beta.Q4_K_S.gguf",
 
9
  model_type='mistral',
10
  max_new_tokens = 1096,
11
  threads = 3,
@@ -50,9 +49,7 @@ chat_interface = gr.ChatInterface(
50
  )
51
 
52
  with gr.Blocks(css=css) as demo:
53
- gr.HTML("<h1><center>Gathnex Free LLM Deployment Space<h1><center>")
54
- gr.HTML("<h3><center><a href='https://medium.com/@gathnex'>Gathnex AI</a>💬<h3><center>")
55
- gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
56
  chat_interface.render()
57
  gr.Markdown(greety)
58
 
 
2
  import gradio as gr
3
 
4
  greety = """
 
 
5
 
6
+
7
+ llm = AutoModelForCausalLM.from_pretrained("llama-2-7b-chat.Q4_K_S.gguf",
8
  model_type='mistral',
9
  max_new_tokens = 1096,
10
  threads = 3,
 
49
  )
50
 
51
  with gr.Blocks(css=css) as demo:
52
+
 
 
53
  chat_interface.render()
54
  gr.Markdown(greety)
55