Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ with gr.Blocks() as demo:
|
|
67 |
article = df.iloc[df_idx]['text'].replace("==", "\n\n==")
|
68 |
chat_history.append((message, f"contents of {n}:\n{article}"))
|
69 |
return "", chat_history
|
70 |
-
|
71 |
print(traceback.format_exc())
|
72 |
def respond(message, chat_history):
|
73 |
print(f"received input '{message}'")
|
|
|
67 |
article = df.iloc[df_idx]['text'].replace("==", "\n\n==")
|
68 |
chat_history.append((message, f"contents of {n}:\n{article}"))
|
69 |
return "", chat_history
|
70 |
+
except:
|
71 |
print(traceback.format_exc())
|
72 |
def respond(message, chat_history):
|
73 |
print(f"received input '{message}'")
|