rviana commited on
Commit
2dcc3a6
1 Parent(s): eea1f8d

Fix transformer version.

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. 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, share=True)
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