Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
from sentence_transformers import SentenceTransformer, util
|
| 4 |
|
| 5 |
-
client = InferenceClient("
|
| 6 |
|
| 7 |
with open("knowledge.txt", "r", encoding="utf-8") as file:
|
| 8 |
knowledge_text = file.read()
|
|
@@ -167,4 +167,4 @@ with gr.Blocks(css=custom_css) as app:
|
|
| 167 |
]
|
| 168 |
)
|
| 169 |
|
| 170 |
-
app.launch()
|
|
|
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
from sentence_transformers import SentenceTransformer, util
|
| 4 |
|
| 5 |
+
client = InferenceClient("meta-llama/Meta-Llama-3-8B-Instruct")
|
| 6 |
|
| 7 |
with open("knowledge.txt", "r", encoding="utf-8") as file:
|
| 8 |
knowledge_text = file.read()
|
|
|
|
| 167 |
]
|
| 168 |
)
|
| 169 |
|
| 170 |
+
app.launch(cache_examples=False)
|