Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -184,7 +184,7 @@ def addDocumentHTML5(result):
|
|
184 |
|
185 |
|
186 |
# 3. Stream Llama Response
|
187 |
-
@st.cache_resource
|
188 |
def StreamLLMChatResponse(prompt):
|
189 |
|
190 |
try:
|
@@ -525,7 +525,7 @@ headers = {
|
|
525 |
"Content-Type": "audio/wav"
|
526 |
}
|
527 |
|
528 |
-
|
529 |
def query(filename):
|
530 |
with open(filename, "rb") as f:
|
531 |
data = f.read()
|
|
|
184 |
|
185 |
|
186 |
# 3. Stream Llama Response
|
187 |
+
# @st.cache_resource
|
188 |
def StreamLLMChatResponse(prompt):
|
189 |
|
190 |
try:
|
|
|
525 |
"Content-Type": "audio/wav"
|
526 |
}
|
527 |
|
528 |
+
#@st.cache_resource
|
529 |
def query(filename):
|
530 |
with open(filename, "rb") as f:
|
531 |
data = f.read()
|