Spaces:
Runtime error
Runtime error
uncommented download_models
Browse files
app.py
CHANGED
@@ -51,11 +51,11 @@ st.title("Questions/Answers Gen. (English)")
|
|
51 |
st.write("Question Generation, Question Answering and Questions/Answers Generation using Google MT5. ")
|
52 |
|
53 |
# Variables
|
54 |
-
|
55 |
-
ids = {'mt5-small': ''}
|
56 |
|
57 |
# Download all models from drive
|
58 |
-
|
59 |
|
60 |
# Task selection
|
61 |
|
|
|
51 |
st.write("Question Generation, Question Answering and Questions/Answers Generation using Google MT5. ")
|
52 |
|
53 |
# Variables
|
54 |
+
ids = {'mt5-small': st.secrets['model_key']}
|
55 |
+
# ids = {'mt5-small': ''}
|
56 |
|
57 |
# Download all models from drive
|
58 |
+
download_models(ids)
|
59 |
|
60 |
# Task selection
|
61 |
|