Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ from gen_ai import traditional_model,llm_model
|
|
| 3 |
|
| 4 |
# Functions that return class instances
|
| 5 |
def function_a(query):
|
| 6 |
-
return traditional_model(
|
| 7 |
|
| 8 |
def function_b(query):
|
| 9 |
return llm_model(query)
|
|
|
|
| 3 |
|
| 4 |
# Functions that return class instances
|
| 5 |
def function_a(query):
|
| 6 |
+
return traditional_model().predict(query)
|
| 7 |
|
| 8 |
def function_b(query):
|
| 9 |
return llm_model(query)
|