Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,8 +5,8 @@ import argparse
|
|
| 5 |
from huggingface_hub import snapshot_download
|
| 6 |
from llama_cpp import Llama
|
| 7 |
|
| 8 |
-
repo_name = 'tolgadev/
|
| 9 |
-
model_file = "
|
| 10 |
|
| 11 |
snapshot_download(repo_id=repo_name, local_dir=".", allow_patterns=model_file)
|
| 12 |
|
|
@@ -36,8 +36,8 @@ def reset_state():
|
|
| 36 |
return [], []
|
| 37 |
|
| 38 |
with gr.Blocks() as demo:
|
| 39 |
-
gr.HTML("""<h1 align="center">
|
| 40 |
-
<h3 align="center">This is unofficial demo of `tolgadev/
|
| 41 |
<h4 align="center">Hit the like button if you liked! 🤗</h4>""")
|
| 42 |
|
| 43 |
chatbot = gr.Chatbot()
|
|
|
|
| 5 |
from huggingface_hub import snapshot_download
|
| 6 |
from llama_cpp import Llama
|
| 7 |
|
| 8 |
+
repo_name = 'tolgadev/llama-2-7b-tk-mini-GGUF'
|
| 9 |
+
model_file = "llama-2-7b-tk-mini.Q3_K_M.gguf"
|
| 10 |
|
| 11 |
snapshot_download(repo_id=repo_name, local_dir=".", allow_patterns=model_file)
|
| 12 |
|
|
|
|
| 36 |
return [], []
|
| 37 |
|
| 38 |
with gr.Blocks() as demo:
|
| 39 |
+
gr.HTML("""<h1 align="center">RuyaTabirleriLLM Chatbot Demo</h1>
|
| 40 |
+
<h3 align="center">This is unofficial demo of `tolgadev/llama-2-7b-tk-mini-GGUF` model based on LLama2 architecture.</h3>
|
| 41 |
<h4 align="center">Hit the like button if you liked! 🤗</h4>""")
|
| 42 |
|
| 43 |
chatbot = gr.Chatbot()
|