Spaces:
Sleeping
Sleeping
apple muncy
commited on
Commit
Β·
6ec97a6
1
Parent(s):
7566866
change Dockerfile to CMD python app.py
Browse filesSigned-off-by: apple muncy <[email protected]>
- Dockerfile +1 -1
- app.py +1 -1
Dockerfile
CHANGED
@@ -32,6 +32,6 @@ EXPOSE 443
|
|
32 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
33 |
CMD curl -f http://localhost:8000/ || exit 1
|
34 |
|
35 |
-
ENTRYPOINT ["python", "
|
36 |
# Run the application
|
37 |
CMD ["-c"]
|
|
|
32 |
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
33 |
CMD curl -f http://localhost:8000/ || exit 1
|
34 |
|
35 |
+
ENTRYPOINT ["python", "app.py"]
|
36 |
# Run the application
|
37 |
CMD ["-c"]
|
app.py
CHANGED
@@ -117,7 +117,7 @@ async def get_agent():
|
|
117 |
],
|
118 |
)
|
119 |
print("β
Agent instance created successfully")
|
120 |
-
logger.info('
|
121 |
print("π§ Loading tools...")
|
122 |
logger.info('Loading tools...')
|
123 |
await agent_instance.load_tools()
|
|
|
117 |
],
|
118 |
)
|
119 |
print("β
Agent instance created successfully")
|
120 |
+
logger.info('Agent instance created successfully')
|
121 |
print("π§ Loading tools...")
|
122 |
logger.info('Loading tools...')
|
123 |
await agent_instance.load_tools()
|