Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|
| 6 |
-
flnm=cd.rowWise(dtaFl,shNm,
|
| 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.
|
|
|
|
| 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(
|