Commit cee41a86 authored by nanahira's avatar nanahira

remove text length limit

parent 69064bf5
......@@ -8,7 +8,7 @@ WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache -r requirements.txt
COPY . /app
RUN sed -i "s/\.launch()/\.launch(server_name=\"0.0.0.0\")/" app.py
RUN sed -i -e "s/\.launch()/\.launch(server_name=\"0.0.0.0\")/" -e 's/if len(text) > 500:/if False:/' app.py
EXPOSE 7860
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment