Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -88,10 +88,9 @@ def main(source_file, target_file):
|
|
| 88 |
if __name__ == "__main__":
|
| 89 |
|
| 90 |
|
| 91 |
-
source_file = gr.inputs.
|
| 92 |
-
target_file = gr.inputs.
|
| 93 |
-
|
| 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],
|