Explorar o código

order should be same

Shubham Thakur hai 1 ano
pai
achega
e3c659f521
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -170,7 +170,7 @@ def add_training_data():
 
 @app.route('/api/v0/generate_followup_questions', methods=['GET'])
 @requires_cache(['df', 'question', 'sql'])
-def generate_followup_questions(id: str, df, sql, question):
+def generate_followup_questions(id: str, df, question, sql):
     followup_questions = vn.generate_followup_questions(question=question, sql=sql, df=df)
 
     cache.set(id=id, field='followup_questions', value=followup_questions)