Commit
·
ce41c1d
1
Parent(s):
4e6b8bd
update
Browse files
app.py
CHANGED
|
@@ -349,6 +349,8 @@ def experiment(session_id):
|
|
| 349 |
logger.info(f"Sample metadata for session {session_id}, method {method}, index {current_index}: {metadata}")
|
| 350 |
|
| 351 |
statement = metadata['statement']
|
|
|
|
|
|
|
| 352 |
|
| 353 |
return render_template('experiment.html',
|
| 354 |
sample_id=current_index,
|
|
|
|
| 349 |
logger.info(f"Sample metadata for session {session_id}, method {method}, index {current_index}: {metadata}")
|
| 350 |
|
| 351 |
statement = metadata['statement']
|
| 352 |
+
if method == 'Text2SQL':
|
| 353 |
+
statement = f""
|
| 354 |
|
| 355 |
return render_template('experiment.html',
|
| 356 |
sample_id=current_index,
|