Upload folder using huggingface_hub
Browse files- Dockerfile +1 -1
- demo.yaml +1 -1
- gradify.py +1 -1
- requirements.txt +2 -4
Dockerfile
CHANGED
|
@@ -20,4 +20,4 @@ WORKDIR $HOME/app
|
|
| 20 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 21 |
COPY --chown=user . $HOME/app
|
| 22 |
|
| 23 |
-
|
|
|
|
| 20 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 21 |
COPY --chown=user . $HOME/app
|
| 22 |
|
| 23 |
+
CMD ["lite", "demo.yaml", "launch", "--server_name", "0.0.0.0", "--server_port", "7860"]
|
demo.yaml
CHANGED
|
@@ -3,7 +3,7 @@ lite_metadata:
|
|
| 3 |
liteobj_version: 0.0.7
|
| 4 |
class_string: gradio.interface.Interface
|
| 5 |
kwargs:
|
| 6 |
-
title:
|
| 7 |
description: ''
|
| 8 |
article: null
|
| 9 |
thumbnail: null
|
|
|
|
| 3 |
liteobj_version: 0.0.7
|
| 4 |
class_string: gradio.interface.Interface
|
| 5 |
kwargs:
|
| 6 |
+
title: Gradio Webapp
|
| 7 |
description: ''
|
| 8 |
article: null
|
| 9 |
thumbnail: null
|
gradify.py
CHANGED
|
@@ -31,4 +31,4 @@ def gradify_closure(source, argmaps, func_kwargs={}):
|
|
| 31 |
import gradio as gr
|
| 32 |
raise gr.Error(f"Error: {e}")
|
| 33 |
|
| 34 |
-
return gradify_func
|
|
|
|
| 31 |
import gradio as gr
|
| 32 |
raise gr.Error(f"Error: {e}")
|
| 33 |
|
| 34 |
+
return gradify_func
|
requirements.txt
CHANGED
|
@@ -1,4 +1,2 @@
|
|
| 1 |
-
gradio==3.
|
| 2 |
-
|
| 3 |
-
duckdb>=0.8.0
|
| 4 |
-
datasets
|
|
|
|
| 1 |
+
gradio==3.32
|
| 2 |
+
liteobj==0.0.7
|
|
|
|
|
|