Commit
·
941a95a
1
Parent(s):
3e0ecb5
Fix
Browse files- app-ngrok.py +1 -1
app-ngrok.py
CHANGED
@@ -106,7 +106,7 @@ def generate(input_message: str, db_info="", temperature=0.1, top_p=0.9, top_k=0
|
|
106 |
log_to_firestore(input_message, db_info, temperature, output if format_sql else response_text)
|
107 |
|
108 |
if format_sql:
|
109 |
-
return
|
110 |
else:
|
111 |
return response_text
|
112 |
|
|
|
106 |
log_to_firestore(input_message, db_info, temperature, output if format_sql else response_text)
|
107 |
|
108 |
if format_sql:
|
109 |
+
return output
|
110 |
else:
|
111 |
return response_text
|
112 |
|