sunil23391 commited on
Commit
e67ae92
1 Parent(s): edc2460

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import os
2
  os.system('pip install transformers')
3
  os.system('pip install torch')
4
-
5
  # Import required libraries
6
  import torch
7
  import transformers
@@ -24,7 +23,7 @@ def analyze_sentiment(text):
24
  return result
25
 
26
  # Create the user input form
27
- col1, col2 = st.beta_columns(2)
28
  with col1:
29
  text_input = st.text_area("Enter Text:", "", key="my_input")
30
  with col2:
 
1
  import os
2
  os.system('pip install transformers')
3
  os.system('pip install torch')
 
4
  # Import required libraries
5
  import torch
6
  import transformers
 
23
  return result
24
 
25
  # Create the user input form
26
+ col1, col2 = st.columns(2)
27
  with col1:
28
  text_input = st.text_area("Enter Text:", "", key="my_input")
29
  with col2: