Spaces:
Runtime error
Runtime error
Commit
·
908d7e1
1
Parent(s):
ecf712d
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
@@ -189,11 +189,10 @@ def load_llama_index(self,vindex='vector_index',vpath='./index_storage'):
|
|
189 |
print(f'Exception: {e}')
|
190 |
return
|
191 |
|
192 |
-
|
193 |
|
194 |
@add_method(HFace_Pluto)
|
195 |
def ask_me(self, p, ll_sign_in_member='Girish' , ll_engine='Humana'):
|
196 |
-
monty.load_llama_index()
|
197 |
self._llama_query_engine = self._llama_index_doc.as_query_engine()
|
198 |
ll_engine = self._llama_query_engine
|
199 |
|
@@ -235,4 +234,4 @@ gradio.Interface(fn=monty.ask_me,
|
|
235 |
examples=exp,
|
236 |
title=title,
|
237 |
description=desc,
|
238 |
-
article=arti).launch(debug=True)
|
|
|
189 |
print(f'Exception: {e}')
|
190 |
return
|
191 |
|
192 |
+
monty.load_llama_index()
|
193 |
|
194 |
@add_method(HFace_Pluto)
|
195 |
def ask_me(self, p, ll_sign_in_member='Girish' , ll_engine='Humana'):
|
|
|
196 |
self._llama_query_engine = self._llama_index_doc.as_query_engine()
|
197 |
ll_engine = self._llama_query_engine
|
198 |
|
|
|
234 |
examples=exp,
|
235 |
title=title,
|
236 |
description=desc,
|
237 |
+
article=arti).launch(debug=True)
|