Spaces:
Sleeping
Sleeping
Commit
·
87d0cc2
1
Parent(s):
feea636
change serve
Browse files- Dockerfile +2 -1
- server.py +1 -1
Dockerfile
CHANGED
|
@@ -31,4 +31,5 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
| 31 |
RUN playwright install
|
| 32 |
|
| 33 |
COPY --chown=user . /app
|
| 34 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
| 31 |
RUN playwright install
|
| 32 |
|
| 33 |
COPY --chown=user . /app
|
| 34 |
+
#CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 35 |
+
CMD ["python", "server.py"]
|
server.py
CHANGED
|
@@ -30,4 +30,4 @@ with gr.Blocks(title="MCP Web Scraper") as demo:
|
|
| 30 |
|
| 31 |
if __name__ == "__main__":
|
| 32 |
#demo.launch(server_name="0.0.0.0", server_port=7860)
|
| 33 |
-
demo.launch()
|
|
|
|
| 30 |
|
| 31 |
if __name__ == "__main__":
|
| 32 |
#demo.launch(server_name="0.0.0.0", server_port=7860)
|
| 33 |
+
demo.launch(server_name="0.0.0.0", server_port=7860)
|