Edward J. Schwartz commited on
Commit
b0cef67
1 Parent(s): 66a9140
Files changed (4) hide show
  1. app.py +4 -0
  2. examples/ooex8.exe +0 -0
  3. examples/ooex9.exe +0 -0
  4. requirements.txt +0 -1
app.py CHANGED
@@ -66,6 +66,10 @@ with gr.Blocks() as demo:
66
  )
67
 
68
  file_widget = gr.File(label="Binary file")
 
 
 
 
69
 
70
  with gr.Column(visible=False) as col:
71
  #output = gr.Textbox("Output")
 
66
  )
67
 
68
  file_widget = gr.File(label="Binary file")
69
+ example_widget = gr.Examples(
70
+ examples=[f.path for f in os.scandir(os.path.join(os.path.dirname(__file__), "examples"))],
71
+ inputs=file_widget,
72
+ )
73
 
74
  with gr.Column(visible=False) as col:
75
  #output = gr.Textbox("Output")
examples/ooex8.exe ADDED
Binary file (38.9 kB). View file
 
examples/ooex9.exe ADDED
Binary file (39.9 kB). View file
 
requirements.txt CHANGED
@@ -1,4 +1,3 @@
1
  gradio
2
  pandas
3
  numpy >= 1.22.4
4
- # transformers[torch]
 
1
  gradio
2
  pandas
3
  numpy >= 1.22.4