Spaces:
Runtime error
Runtime error
Commit
·
32903c8
1
Parent(s):
810616a
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,6 @@ import psutil
|
|
6 |
from ctransformers import AutoModelForCausalLM
|
7 |
from huggingface_hub import hf_hub_download
|
8 |
|
9 |
-
with gr.blocks(theme='HaleyCH/HaleyCH_Theme')
|
10 |
|
11 |
URL = "https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/resolve/main/luna-ai-llama2-uncensored.ggmlv3.q2_K.bin"
|
12 |
repo_id = "/".join(urlparse(URL).path.strip("/").split("/")[:2])
|
@@ -210,6 +209,7 @@ def chat():
|
|
210 |
|
211 |
def get_demo():
|
212 |
with gr.Blocks(
|
|
|
213 |
# css=None
|
214 |
# css="""#chat_container {width: 700px; margin-left: auto; margin-right: auto;}
|
215 |
# #button_container {width: 700px; margin-left: auto; margin-right: auto;}
|
|
|
6 |
from ctransformers import AutoModelForCausalLM
|
7 |
from huggingface_hub import hf_hub_download
|
8 |
|
|
|
9 |
|
10 |
URL = "https://huggingface.co/TheBloke/Luna-AI-Llama2-Uncensored-GGML/resolve/main/luna-ai-llama2-uncensored.ggmlv3.q2_K.bin"
|
11 |
repo_id = "/".join(urlparse(URL).path.strip("/").split("/")[:2])
|
|
|
209 |
|
210 |
def get_demo():
|
211 |
with gr.Blocks(
|
212 |
+
theme='HaleyCH/HaleyCH_Theme'
|
213 |
# css=None
|
214 |
# css="""#chat_container {width: 700px; margin-left: auto; margin-right: auto;}
|
215 |
# #button_container {width: 700px; margin-left: auto; margin-right: auto;}
|