Spaces:
Sleeping
Sleeping
Fix transformer version.
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
@@ -22,7 +22,7 @@ port = find_free_port()
|
|
22 |
|
23 |
# Launch the Gradio interface on the dynamically found port
|
24 |
iface = gr.Interface(fn=classify_text, inputs="text", outputs="text")
|
25 |
-
iface.launch(server_port=port
|
26 |
|
27 |
# Streamlit code
|
28 |
st.title('IMDb Sentiment Analysis')
|
|
|
22 |
|
23 |
# Launch the Gradio interface on the dynamically found port
|
24 |
iface = gr.Interface(fn=classify_text, inputs="text", outputs="text")
|
25 |
+
iface.launch(server_port=port)
|
26 |
|
27 |
# Streamlit code
|
28 |
st.title('IMDb Sentiment Analysis')
|
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
datasets
|
2 |
-
transformers
|
3 |
torch
|
4 |
gradio
|
5 |
streamlit==1.10.0
|
|
|
1 |
datasets
|
2 |
+
transformers==4.30.0
|
3 |
torch
|
4 |
gradio
|
5 |
streamlit==1.10.0
|