Spaces:
Runtime error
Runtime error
Jingxiang Mo
commited on
Commit
•
e537f35
1
Parent(s):
4970856
Update requirements
Browse files- app.py +1 -1
- requirements.txt +4 -5
app.py
CHANGED
@@ -62,7 +62,7 @@ demo = gr.Interface(
|
|
62 |
inputs = "text",
|
63 |
outputs = "text",
|
64 |
|
65 |
-
examples=examples
|
66 |
)
|
67 |
|
68 |
if __name__ == "__main__":
|
|
|
62 |
inputs = "text",
|
63 |
outputs = "text",
|
64 |
|
65 |
+
examples=examples,
|
66 |
)
|
67 |
|
68 |
if __name__ == "__main__":
|
requirements.txt
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
transformers.pipelines
|
|
|
1 |
+
gradio==3.19.1
|
2 |
+
numpy==1.21.3
|
3 |
+
transformers==4.26.1
|
4 |
+
wikipedia-api
|
|