jtowarek commited on
Commit
68409a2
·
verified ·
1 Parent(s): cf2af66

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -0
  2. bench/gradio_app/app.py +1 -1
Dockerfile CHANGED
@@ -7,6 +7,8 @@ RUN pip install --no-cache-dir gradio pydantic anthropic openai httpx
7
  COPY . /app
8
 
9
  ENV PYTHONPATH="/app:/app/bench/gradio_app:$PYTHONPATH"
 
 
10
 
11
  EXPOSE 7860
12
 
 
7
  COPY . /app
8
 
9
  ENV PYTHONPATH="/app:/app/bench/gradio_app:$PYTHONPATH"
10
+ ENV GRADIO_ANALYTICS_ENABLED="False"
11
+ ENV GRADIO_SERVER_NAME="0.0.0.0"
12
 
13
  EXPOSE 7860
14
 
bench/gradio_app/app.py CHANGED
@@ -165,4 +165,4 @@ with gr.Blocks(title="Kant Demo") as demo:
165
  gr.Markdown(value=_build_reference_md())
166
 
167
  print("[APP] Launching Gradio...", flush=True)
168
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
165
  gr.Markdown(value=_build_reference_md())
166
 
167
  print("[APP] Launching Gradio...", flush=True)
168
+ demo.launch(server_name="0.0.0.0", server_port=7860, share=False, show_api=False)