1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 22:08:39 +00:00

Compare commits

..

No commits in common. "6b10128a6a0cfb7ad639a7516d531f20b3989b97" and "25a5e679077047657d4fa920198d40f996feae8c" have entirely different histories.

5 changed files with 0 additions and 50 deletions

@ -202,7 +202,6 @@ A collection of delicious docker recipes.
- [x] django-cms
- [x] dokuwiki :+1:
- [x] gogs-arm :cn:
- [x] gradio
- [x] hugo
- [x] hugo-arm
- [x] jamapi

@ -1,13 +0,0 @@
#
# Dockerfile for gradio
#
FROM python:3.12-slim
ENV GRADIO_SERVER_NAME="0.0.0.0"
RUN pip install --no-cache-dir gradio
EXPOSE 7860
ENTRYPOINT ["python"]

@ -1,17 +0,0 @@
gradio
======
[Gradio][1] is the fastest way to demo your machine learning model with a
friendly web interface so that anyone can use it, anywhere!
## up and running
```bash
$ docker compose up -d
$ open http://127.0.0.1:7860
```
More demos can be found [here][2].
[1]: https://www.gradio.app/
[2]: https://www.gradio.app/playground

@ -1,9 +0,0 @@
#!/usr/bin/env python
import gradio as gr
def greet(name):
return "Hello " + name + "!"
demo = gr.Interface(fn=greet, inputs="text", outputs="text", allow_flagging="never")
demo.launch()

@ -1,10 +0,0 @@
version: "3.8"
services:
gradio:
image: vimagick/gradio
command: app.py
ports:
- "7860:7860"
volumes:
- ./data:/data
working_dir: /data