Gopikanth123 commited on
Commit
d70dcbe
·
verified ·
1 Parent(s): b647a7c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -131,7 +131,7 @@ def handle_query(query):
131
  current_chat_history.append((query, response))
132
  return response
133
 
134
- app = Flask(_name_)
135
 
136
  # Data ingestion
137
  data_ingestion_from_directory()
@@ -163,5 +163,5 @@ def chat():
163
  except Exception as e:
164
  return jsonify({"response": f"An error occurred: {str(e)}"})
165
 
166
- if _name_ == '_main_':
167
  app.run(debug=True)
 
131
  current_chat_history.append((query, response))
132
  return response
133
 
134
+ app = Flask(__name__)
135
 
136
  # Data ingestion
137
  data_ingestion_from_directory()
 
163
  except Exception as e:
164
  return jsonify({"response": f"An error occurred: {str(e)}"})
165
 
166
+ if __name__ == '__main__':
167
  app.run(debug=True)