philipobiorah commited on
Commit
98ad126
·
verified ·
1 Parent(s): b824c83

reset to previous upload form

Browse files
Files changed (1) hide show
  1. templates/upload.html +4 -4
templates/upload.html CHANGED
@@ -117,16 +117,16 @@
117
  <h1>UoB BERT-Based Sentiment Analyzer 1.0</h1>
118
 
119
  <h2>-Upload File-</h2>
120
- <form action="/uploader" method="POST" enctype="multipart/form-data">
121
  <input type="file" name="file" accept=".csv" required>
122
  <button type="submit">Upload & Analyze</button>
123
- </form>
124
 
125
- <!-- <form name="fileUploadForm" action="/uploader" method="post" enctype="multipart/form-data" onsubmit="return validateFileInput()">
126
  <input type="file" name="file">
127
  <input type="submit" value="Upload and Analyze">
128
  <div id="fileError" class="error-message"></div>
129
- </form> -->
130
 
131
  <h2>Or Enter Text for Sentiment Analysis</h2>
132
  <form name="textInputForm" action="/analyze_text" method="post" onsubmit="return validateTextInput()">
 
117
  <h1>UoB BERT-Based Sentiment Analyzer 1.0</h1>
118
 
119
  <h2>-Upload File-</h2>
120
+ <!-- <form action="/uploader" method="POST" enctype="multipart/form-data">
121
  <input type="file" name="file" accept=".csv" required>
122
  <button type="submit">Upload & Analyze</button>
123
+ </form> -->
124
 
125
+ <form name="fileUploadForm" action="/uploader" method="post" enctype="multipart/form-data" onsubmit="return validateFileInput()">
126
  <input type="file" name="file">
127
  <input type="submit" value="Upload and Analyze">
128
  <div id="fileError" class="error-message"></div>
129
+ </form>
130
 
131
  <h2>Or Enter Text for Sentiment Analysis</h2>
132
  <form name="textInputForm" action="/analyze_text" method="post" onsubmit="return validateTextInput()">