WebashalarForML commited on
Commit
f427793
·
verified ·
1 Parent(s): b5158ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -185,5 +185,7 @@ def run_agent(prompt):
185
  socketio.emit("log", {"message": f"[ERROR]: {str(e)}"})
186
  socketio.emit("final", {"message": "Generation failed."})
187
 
 
 
188
  if __name__ == "__main__":
189
- socketio.run(flask_app, debug=True)
 
185
  socketio.emit("log", {"message": f"[ERROR]: {str(e)}"})
186
  socketio.emit("final", {"message": "Generation failed."})
187
 
188
+ app = flask_app
189
+
190
  if __name__ == "__main__":
191
+ socketio.run(app, debug=True)