DavidD003 commited on
Commit
578cc0d
·
1 Parent(s): 7394488

Update app.py

Browse files

Adding file in/out

Files changed (1) hide show
  1. app.py +8 -6
app.py CHANGED
@@ -14,11 +14,13 @@ demo = gr.Interface(
14
  row_count=1,
15
  col_count=(3, "fixed")
16
  ),
17
- gr.Dataframe(
18
- headers=["Q", "W", "E"],
19
- datatype=["str", "str", "str"],
20
- row_count=1,
21
- col_count=(3)
 
 
22
  ),
23
  gr.Textbox(
24
  label="Initial text",
@@ -26,7 +28,7 @@ demo = gr.Interface(
26
  value="The quick brown fox jumped over the lazy dogs.",
27
  ),
28
  ],
29
- "dataframe",
30
  description="Enter gender as 'M', 'F', or 'O' for other.",
31
  )
32
 
 
14
  row_count=1,
15
  col_count=(3, "fixed")
16
  ),
17
+ #gr.Dataframe(
18
+ # headers=["Q", "W", "E"],
19
+ # datatype=["str", "str", "str"],
20
+ # row_count=1,
21
+ # col_count=(3)
22
+ #),
23
+ gr.File(
24
  ),
25
  gr.Textbox(
26
  label="Initial text",
 
28
  value="The quick brown fox jumped over the lazy dogs.",
29
  ),
30
  ],
31
+ gr.File(),
32
  description="Enter gender as 'M', 'F', or 'O' for other.",
33
  )
34