Spaces:
Runtime error
Runtime error
Jingxiang Mo
commited on
Commit
•
a72ba2b
1
Parent(s):
41cb046
update requirements
Browse files- README.md +1 -1
- app.py +1 -1
- requirements.txt +4 -1
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
title: Azza
|
3 |
-
sdk:
|
4 |
app_file: app.py
|
5 |
models: ["ml6team/keyphrase-extraction-kbir-inspec"]
|
6 |
pinned: false
|
|
|
1 |
---
|
2 |
title: Azza
|
3 |
+
sdk: gradio
|
4 |
app_file: app.py
|
5 |
models: ["ml6team/keyphrase-extraction-kbir-inspec"]
|
6 |
pinned: false
|
app.py
CHANGED
@@ -144,4 +144,4 @@ demo = gr.Interface(
|
|
144 |
)
|
145 |
|
146 |
if __name__ == "__main__":
|
147 |
-
demo.launch(
|
|
|
144 |
)
|
145 |
|
146 |
if __name__ == "__main__":
|
147 |
+
demo.launch()
|
requirements.txt
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
gradio==3.19.1
|
2 |
numpy==1.21.3
|
3 |
transformers==4.26.1
|
4 |
-
wikipedia-api
|
|
|
|
|
|
|
|
1 |
gradio==3.19.1
|
2 |
numpy==1.21.3
|
3 |
transformers==4.26.1
|
4 |
+
wikipedia-api
|
5 |
+
torch
|
6 |
+
torchvision
|
7 |
+
torchaudio
|