lint commited on
Commit
ac1a3c2
·
1 Parent(s): f037e2e

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. Dockerfile +1 -1
  2. demo.yaml +7 -9
  3. 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
@@ -4,27 +4,25 @@ lite_metadata:
4
  class_string: gradio.interface.Interface
5
  kwargs:
6
  title: Gradio Webapp
7
- description: Given a set of numbers, save them as a separeted arry stored in ram
8
  article: null
9
  thumbnail: null
10
  theme: gradio/seafoam
11
  css: null
12
  allow_flagging: never
13
  inputs:
14
- - class_string: gradio.components.Dataframe
15
  kwargs:
16
- label: numbers
17
- type: array
18
  outputs:
19
- - class_string: gradio.components.Dataframe
20
  kwargs:
21
  label: output
22
- type: array
23
  fn:
24
  class_string: gradify.gradify_closure
25
  kwargs:
26
  argmaps:
27
- - label: numbers
28
- postprocessing: 'lambda array: list(map(int, array[0]))'
29
  func_kwargs: {}
30
- source: "def save_numbers(numbers):\n return numbers\n"
 
4
  class_string: gradio.interface.Interface
5
  kwargs:
6
  title: Gradio Webapp
7
+ description: Transcribe a recording of a meeting into a text summary
8
  article: null
9
  thumbnail: null
10
  theme: gradio/seafoam
11
  css: null
12
  allow_flagging: never
13
  inputs:
14
+ - class_string: gradio.components.Textbox
15
  kwargs:
16
+ label: recording
 
17
  outputs:
18
+ - class_string: gradio.components.Textbox
19
  kwargs:
20
  label: output
 
21
  fn:
22
  class_string: gradify.gradify_closure
23
  kwargs:
24
  argmaps:
25
+ - label: recording
26
+ postprocessing: null
27
  func_kwargs: {}
28
+ source: "def transcribe_meeting(recording):\n return summary\n"
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