vansin commited on
Commit
7a87942
1 Parent(s): 39cd651

feat: update

Browse files
Files changed (2) hide show
  1. app.py +3 -1
  2. mindsearch/app.py +0 -1
app.py CHANGED
@@ -172,4 +172,6 @@ demo.queue()
172
  demo.launch(server_name='0.0.0.0',
173
  server_port=7860,
174
  inbrowser=True,
175
- share=True)
 
 
 
172
  demo.launch(server_name='0.0.0.0',
173
  server_port=7860,
174
  inbrowser=True,
175
+ share=True)
176
+
177
+ pass
mindsearch/app.py CHANGED
@@ -122,7 +122,6 @@ async def run(request: GenerationParams):
122
  agent = init_agent(lang=args.lang, model_format=args.model_format)
123
  return EventSourceResponse(generate())
124
 
125
-
126
  if __name__ == '__main__':
127
  import uvicorn
128
  uvicorn.run(app, host='0.0.0.0', port=8002, log_level='info')
 
122
  agent = init_agent(lang=args.lang, model_format=args.model_format)
123
  return EventSourceResponse(generate())
124
 
 
125
  if __name__ == '__main__':
126
  import uvicorn
127
  uvicorn.run(app, host='0.0.0.0', port=8002, log_level='info')