Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -462,7 +462,7 @@ def ask_df(df, api_key, model, ui_session_id):
|
|
462 |
answers.append(complete_answer)
|
463 |
print(complete_answer)
|
464 |
df[question_column] = answers
|
465 |
-
return df,
|
466 |
|
467 |
def export_df(df, ftype):
|
468 |
fname=secrets.token_urlsafe(16)
|
|
|
462 |
answers.append(complete_answer)
|
463 |
print(complete_answer)
|
464 |
df[question_column] = answers
|
465 |
+
return df, sources_file
|
466 |
|
467 |
def export_df(df, ftype):
|
468 |
fname=secrets.token_urlsafe(16)
|