Spaces:
Runtime error
Runtime error
vinayakdev
commited on
Commit
•
5968428
1
Parent(s):
507bb54
Happy Hugging Face!
Browse files- generator.py +1 -0
- requirements.txt +1 -1
generator.py
CHANGED
@@ -20,6 +20,7 @@ from transformers import (
|
|
20 |
# ElectraForQuestionAnswering
|
21 |
)
|
22 |
import torch
|
|
|
23 |
import string
|
24 |
import numpy as np
|
25 |
from transformers import pipeline
|
|
|
20 |
# ElectraForQuestionAnswering
|
21 |
)
|
22 |
import torch
|
23 |
+
import sentencepiece
|
24 |
import string
|
25 |
import numpy as np
|
26 |
from transformers import pipeline
|
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
numpy==1.24.1
|
|
|
2 |
streamlit==1.16.0
|
3 |
-
tensorflow==2.11.0
|
4 |
torch==1.13.1
|
5 |
transformers==4.25.1
|
|
|
1 |
numpy==1.24.1
|
2 |
+
sentencepiece==0.1.97
|
3 |
streamlit==1.16.0
|
|
|
4 |
torch==1.13.1
|
5 |
transformers==4.25.1
|