Spaces:
Sleeping
Sleeping
Fix: Remove incompatible Gradio theme parameter
Browse files- app.py +1 -3
- requirements.txt +3 -3
app.py
CHANGED
|
@@ -161,9 +161,7 @@ demo = gr.Interface(
|
|
| 161 |
### 🔗 Links
|
| 162 |
- [Model Repository](https://huggingface.co/ecaaa09/IndoELECTRA-NER-Singgalang)
|
| 163 |
- [GitHub Repository](https://github.com/rayhanfatihg/Named-Entity-Recognition-nlp)
|
| 164 |
-
"""
|
| 165 |
-
theme=gr.themes.Soft(),
|
| 166 |
-
allow_flagging="never"
|
| 167 |
)
|
| 168 |
|
| 169 |
if __name__ == "__main__":
|
|
|
|
| 161 |
### 🔗 Links
|
| 162 |
- [Model Repository](https://huggingface.co/ecaaa09/IndoELECTRA-NER-Singgalang)
|
| 163 |
- [GitHub Repository](https://github.com/rayhanfatihg/Named-Entity-Recognition-nlp)
|
| 164 |
+
"""
|
|
|
|
|
|
|
| 165 |
)
|
| 166 |
|
| 167 |
if __name__ == "__main__":
|
requirements.txt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
-
transformers
|
| 2 |
-
torch
|
| 3 |
-
gradio
|
|
|
|
| 1 |
+
transformers>=4.30.0
|
| 2 |
+
torch>=2.0.0
|
| 3 |
+
gradio>=4.0.0
|