Spaces:
Build error
Build error
Commit
Β·
6420f62
1
Parent(s):
cf6133b
update
Browse files- app.py +0 -1
- 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="
|
| 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>
|