Nauryzbay commited on
Commit
a9c4529
·
1 Parent(s): edd57c3

public - private check

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py CHANGED
@@ -1,6 +1,18 @@
1
  import gradio as gr
2
 
3
  if __name__ == "__main__":
 
 
 
 
 
 
 
 
4
  gr.Interface.load(
5
  "spaces/Nauryzbay/deckify_private",
 
 
 
 
6
  ).launch()
 
1
  import gradio as gr
2
 
3
  if __name__ == "__main__":
4
+
5
+ # with gr.Blocks() as demo:
6
+ # file = gr.File(label="Upload PDF")
7
+ # number_of_pages = gr.Number(label="Number of pages")
8
+ # output = gr.Textbox(label="Output")
9
+ # greet_btn = gr.Button("Generate slides")
10
+ # greet_btn.click(fn=generate_slides, inputs=[file, number_of_pages], outputs=output, api_name="greet")
11
+
12
  gr.Interface.load(
13
  "spaces/Nauryzbay/deckify_private",
14
+ inputs=[
15
+ gr.inputs.File(label="Upload PDF"),
16
+ gr.inputs.Number(label="Number of pages"),
17
+ ],
18
  ).launch()