luulinh90s commited on
Commit
6420f62
Β·
1 Parent(s): cf6133b
Files changed (2) hide show
  1. app.py +0 -1
  2. templates/index.html +1 -1
app.py CHANGED
@@ -145,7 +145,6 @@ def introduction():
145
  def attribution():
146
  return render_template('attribution.html')
147
 
148
-
149
  @app.route('/index', methods=['GET', 'POST'])
150
  def index():
151
  if request.method == 'POST':
 
145
  def attribution():
146
  return render_template('attribution.html')
147
 
 
148
  @app.route('/index', methods=['GET', 'POST'])
149
  def index():
150
  if request.method == 'POST':
templates/index.html CHANGED
@@ -134,7 +134,7 @@
134
  <body>
135
  <div class="container">
136
  <h1>Trustworthy LLMs for Table QA</h1>
137
- <form id="method-form" action="/" method="post" onsubmit="return validateForm();">
138
  <label for="username">Hi there πŸ‘‹πŸ‘‹πŸ‘‹ ! What is your name?</label>
139
  <input type="text" id="username" name="username" required>
140
  <label for="seed">What is your lucky number? πŸ€πŸ€πŸ€ </label>
 
134
  <body>
135
  <div class="container">
136
  <h1>Trustworthy LLMs for Table QA</h1>
137
+ <form id="method-form" action="{{ url_for('index') }}" method="post" onsubmit="return validateForm();">
138
  <label for="username">Hi there πŸ‘‹πŸ‘‹πŸ‘‹ ! What is your name?</label>
139
  <input type="text" id="username" name="username" required>
140
  <label for="seed">What is your lucky number? πŸ€πŸ€πŸ€ </label>