vjosap commited on
Commit
fabd059
1 Parent(s): 8dfc29e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -11
app.py CHANGED
@@ -61,16 +61,7 @@ def preprocessing(input_text, tokenizer):
61
  return_tensors = 'pt',
62
  truncation=True
63
  )
64
- # return tokenizer.encode_plus(
65
- # input_text,
66
- # add_special_tokens = True,
67
- # max_length = 150,
68
- # padding = 'max_length',
69
- # return_attention_mask = True,
70
- # return_token_type_ids = True, # Add this line
71
- # return_tensors = 'pt',
72
- # truncation=True
73
- # )
74
 
75
  def convert_excel_to_csv(file):
76
  return pd.read_excel(file)
@@ -125,7 +116,7 @@ set_custom_theme()
125
  page_element = """
126
  <style>
127
  [data-testid="stAppViewContainer"] {
128
- background-image: url("https://images.unsplash.com/photo-1635776062043-223faf322554?q=80&w=1332&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
129
  background-size: cover;
130
  }
131
  [data-testid="stHeader"] {
 
61
  return_tensors = 'pt',
62
  truncation=True
63
  )
64
+
 
 
 
 
 
 
 
 
 
65
 
66
  def convert_excel_to_csv(file):
67
  return pd.read_excel(file)
 
116
  page_element = """
117
  <style>
118
  [data-testid="stAppViewContainer"] {
119
+ background-image: url("https://images.unsplash.com/photo-1656274404439-b8b463c73194?q=80&w=1992&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
120
  background-size: cover;
121
  }
122
  [data-testid="stHeader"] {