LittleApple_fp16 commited on
Commit
f21f904
1 Parent(s): 242fba1
Files changed (2) hide show
  1. Dockerfile +2 -0
  2. waifu_gr.py +1 -1
Dockerfile CHANGED
@@ -27,6 +27,8 @@ WORKDIR $HOME
27
 
28
  COPY --chown=user . $HOME/app
29
 
 
 
30
  COPY .bashrc $HOME/.bashrc_append
31
  RUN cat $HOME/.bashrc_append >> $HOME/.bashrc && \
32
  rm $HOME/.bashrc_append
 
27
 
28
  COPY --chown=user . $HOME/app
29
 
30
+ RUN wget "https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64" && sudo mv frpc_linux_amd64 /usr/local/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2
31
+
32
  COPY .bashrc $HOME/.bashrc_append
33
  RUN cat $HOME/.bashrc_append >> $HOME/.bashrc && \
34
  rm $HOME/.bashrc_append
waifu_gr.py CHANGED
@@ -70,7 +70,7 @@ with gr.Blocks() as jblock:
70
 
71
  if __name__ == "__main__":
72
  jblock.queue(max_size=64)
73
- jblock.launch()
74
 
75
  # if __name__ == "__main__":
76
  # jblock.launch(server_port=args.port)
 
70
 
71
  if __name__ == "__main__":
72
  jblock.queue(max_size=64)
73
+ jblock.launch(share=True)
74
 
75
  # if __name__ == "__main__":
76
  # jblock.launch(server_port=args.port)