DavidD003 commited on
Commit
4975f27
1 Parent(s): 66e3c31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -2,8 +2,8 @@ import gradio as gr
2
  import codeFile as cd
3
  import openpyxl as pyxl
4
 
5
- def myFunction(dtaFl,shNm,rnNm):
6
- flnm=cd.rowWise(dtaFl,shNm,rnNm)
7
  return flNm
8
 
9
  demo = gr.Interface(
@@ -19,7 +19,8 @@ demo = gr.Interface(
19
  #gr.File(label="Temp Refusal Sheet - COPY OF SHEET WITH VALUES, NO FORMULAS"),
20
  gr.File(label="Data File"),
21
  gr.Textbox(label="Sheet Name"),
22
- gr.Textbox(label="Named Range Name")
 
23
  ],
24
  [
25
  #gr.Dataframe(
 
2
  import codeFile as cd
3
  import openpyxl as pyxl
4
 
5
+ def myFunction(dtaFl,shNm,nC,nR):
6
+ flnm=cd.rowWise(dtaFl,shNm,nC,nR)
7
  return flNm
8
 
9
  demo = gr.Interface(
 
19
  #gr.File(label="Temp Refusal Sheet - COPY OF SHEET WITH VALUES, NO FORMULAS"),
20
  gr.File(label="Data File"),
21
  gr.Textbox(label="Sheet Name"),
22
+ gr.Number(label="Number of Columns"),
23
+ gr.Number(label="Number of Rows")
24
  ],
25
  [
26
  #gr.Dataframe(