lint commited on
Commit
c7b3e86
·
1 Parent(s): ee34e74

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. Dockerfile +1 -1
  2. demo.yaml +1 -1
  3. gradify.py +1 -1
  4. 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
- RUN python gsql_app.py
 
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: gitio app
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.33.1
2
- pandas>=2.0
3
- duckdb>=0.8.0
4
- datasets
 
1
+ gradio==3.32
2
+ liteobj==0.0.7