dsaigc commited on
Commit
82ee2ad
·
1 Parent(s): 43d4987

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -88,10 +88,9 @@ def main(source_file, target_file):
88
  if __name__ == "__main__":
89
 
90
 
91
- source_file = gr.inputs.Folder(label="source directory")
92
- target_file = gr.inputs.Folder(label="target directory")
93
- #source_file = gr.inputs.Folderpath(label="Source Directory")
94
- #target_file = gr.inputs.Folderpath(label="Target Directory")
95
  interface = gr.Interface(
96
  main,
97
  [source_file, target_file],
 
88
  if __name__ == "__main__":
89
 
90
 
91
+ source_file = gr.inputs.Texbox(lines=1,label="source_file")
92
+ target_file = gr.inputs.Texbox(lines=1,label="target_file")
93
+
 
94
  interface = gr.Interface(
95
  main,
96
  [source_file, target_file],