Spaces:
Sleeping
Sleeping
lucebert
commited on
Commit
·
e1f2816
1
Parent(s):
770ee32
update to hf
Browse files- Dockerfile +2 -2
- app.py +0 -3
Dockerfile
CHANGED
|
@@ -11,7 +11,7 @@ COPY . /app
|
|
| 11 |
RUN pip install -e .
|
| 12 |
|
| 13 |
# Make port 8000 available to the world outside this container
|
| 14 |
-
EXPOSE
|
| 15 |
|
| 16 |
# Run Chainlit when the container launches
|
| 17 |
-
CMD ["chainlit", "run", "app.py", "-w", "--host", "0.0.0.0"]
|
|
|
|
| 11 |
RUN pip install -e .
|
| 12 |
|
| 13 |
# Make port 8000 available to the world outside this container
|
| 14 |
+
EXPOSE 7860
|
| 15 |
|
| 16 |
# Run Chainlit when the container launches
|
| 17 |
+
CMD ["chainlit", "run", "app.py", "--port", "7860", "-w", "--host", "0.0.0.0"]
|
app.py
CHANGED
|
@@ -31,9 +31,6 @@ async def main(message: cl.Message):
|
|
| 31 |
assistant_id = cl.user_session.get("assistant_id")
|
| 32 |
thread_id = cl.user_session.get("thread_id")
|
| 33 |
|
| 34 |
-
print(f"Assistant ID: {assistant_id}")
|
| 35 |
-
print(f"Thread ID: {thread_id}")
|
| 36 |
-
|
| 37 |
async with cl.Step(name="Scanning documentation") as step:
|
| 38 |
|
| 39 |
async for chunk in langraph_client.runs.stream(
|
|
|
|
| 31 |
assistant_id = cl.user_session.get("assistant_id")
|
| 32 |
thread_id = cl.user_session.get("thread_id")
|
| 33 |
|
|
|
|
|
|
|
|
|
|
| 34 |
async with cl.Step(name="Scanning documentation") as step:
|
| 35 |
|
| 36 |
async for chunk in langraph_client.runs.stream(
|