EinsteinCoder commited on
Commit
312e49d
1 Parent(s): f33d24a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -32,11 +32,9 @@ app.add_middleware(
32
 
33
  @app.get('/')
34
  def index():
35
- return """KnowBot Server running with Salesforce Knowledge Article Data with Generative AI.
36
- Architect : Soumyabrata Das (https://www.linkedin.com/in/soumyabrata-das-b0567b17)
37
- """
38
 
39
- if __name__ == '__main__':
40
  #nest_asyncio.apply()
41
  #uvicorn.run("app:app",host='localhost', port=5000, reload=True)
42
- uvicorn.run(app,host='0.0.0.0', port=5000)
 
32
 
33
  @app.get('/')
34
  def index():
35
+ return """FastAPI Server Running on HuggingFace Spaces. Docs available at: https://einsteincoder-fastapi-demo.hf.space/docs"""
 
 
36
 
37
+ #if __name__ == '__main__':
38
  #nest_asyncio.apply()
39
  #uvicorn.run("app:app",host='localhost', port=5000, reload=True)
40
+ #uvicorn.run(app,host='0.0.0.0', port=5000)