Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,10 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
|
|
|
| 2 |
from llama_cpp import Llama
|
| 3 |
from huggingface_hub import hf_hub_download
|
| 4 |
|
|
|
|
| 5 |
llm = Llama(model_path= hf_hub_download(repo_id="TheBloke/WizardLM-13B-V1.2-GGML", filename="wizardlm-13b-v1.2.ggmlv3.q5_1.bin"))
|
| 6 |
|
| 7 |
def generate_text(input_text):
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import ctypes
|
| 3 |
+
import llama_cpp
|
| 4 |
from llama_cpp import Llama
|
| 5 |
from huggingface_hub import hf_hub_download
|
| 6 |
|
| 7 |
+
|
| 8 |
llm = Llama(model_path= hf_hub_download(repo_id="TheBloke/WizardLM-13B-V1.2-GGML", filename="wizardlm-13b-v1.2.ggmlv3.q5_1.bin"))
|
| 9 |
|
| 10 |
def generate_text(input_text):
|