Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import json
|
|
4 |
from Classes.Owiki_Class import OWiki
|
5 |
|
6 |
def predict(query :str , chat_history : List[tuple[str,str]] , invocation_type : str = "OIC" , schemas : dict= {}) -> str:
|
7 |
-
with open("
|
8 |
hyperparameters = json.load(f)
|
9 |
a = OWiki(**hyperparameters)
|
10 |
if invocation_type =="SQL":
|
|
|
4 |
from Classes.Owiki_Class import OWiki
|
5 |
|
6 |
def predict(query :str , chat_history : List[tuple[str,str]] , invocation_type : str = "OIC" , schemas : dict= {}) -> str:
|
7 |
+
with open("config.json",'r') as f:
|
8 |
hyperparameters = json.load(f)
|
9 |
a = OWiki(**hyperparameters)
|
10 |
if invocation_type =="SQL":
|