Spaces:
Runtime error
Runtime error
Francisco Santos
commited on
Commit
·
aafc193
1
Parent(s):
93b04d6
no examples
Browse files- app.py +1 -8
- requirements.txt +1 -1
app.py
CHANGED
@@ -160,14 +160,7 @@ def process_files(html_file, json_file):
|
|
160 |
|
161 |
iface = gr.Interface(fn=process_files,
|
162 |
inputs=[gr.inputs.File(label="Upload HTML File"), gr.inputs.File(label="Upload JSON File")],
|
163 |
-
outputs="text"
|
164 |
-
examples=[
|
165 |
-
# ["./examples/form0.html", "./examples/form0_answer.json"],
|
166 |
-
["./public/form1.html", "./public/form1_answer.json"],
|
167 |
-
["./public/form2.html", "./public/form2_answer.json"],
|
168 |
-
["./public/form3.html", "./public/form3_answer.json"],
|
169 |
-
["./public/form4.html", "./public/form4_answer.json"]
|
170 |
-
])
|
171 |
|
172 |
|
173 |
iface.launch()
|
|
|
160 |
|
161 |
iface = gr.Interface(fn=process_files,
|
162 |
inputs=[gr.inputs.File(label="Upload HTML File"), gr.inputs.File(label="Upload JSON File")],
|
163 |
+
outputs="text")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
|
165 |
|
166 |
iface.launch()
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
beautifulsoup4==4.12.2
|
2 |
-
transformers==4.31.0
|
|
|
1 |
beautifulsoup4==4.12.2
|
2 |
+
transformers==4.31.0
|