Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -114,8 +114,11 @@ def create_dataset(urls, file, text_input):
|
|
114 |
return output_file
|
115 |
|
116 |
# Gradio Interface
|
|
|
|
|
|
|
117 |
iface = gr.Interface(
|
118 |
-
fn=
|
119 |
inputs=[
|
120 |
gr.Textbox(lines=5, label="Enter comma-separated URLs"),
|
121 |
gr.File(label="Upload file (including zip files)"),
|
|
|
114 |
return output_file
|
115 |
|
116 |
# Gradio Interface
|
117 |
+
def gradio_interface(urls, file, text_input):
|
118 |
+
return create_dataset(urls, file, text_input)
|
119 |
+
|
120 |
iface = gr.Interface(
|
121 |
+
fn=gradio_interface,
|
122 |
inputs=[
|
123 |
gr.Textbox(lines=5, label="Enter comma-separated URLs"),
|
124 |
gr.File(label="Upload file (including zip files)"),
|