Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -227,8 +227,8 @@ def predict(inputs, top_p, temperature, chat_counter, chatbot=[], history=[]):
|
|
227 |
|
228 |
df=pd.DataFrame()
|
229 |
if UseMemory:
|
230 |
-
outputfileName = '
|
231 |
-
df = store_message(
|
232 |
basedir = get_base(outputfileName)
|
233 |
#return history, df, basedir
|
234 |
|
|
|
227 |
|
228 |
df=pd.DataFrame()
|
229 |
if UseMemory:
|
230 |
+
outputfileName = 'ChatGPT-RLHF-Memory.csv' # Test first time file create
|
231 |
+
df = store_message(chat, history, outputfileName) # Save to dataset
|
232 |
basedir = get_base(outputfileName)
|
233 |
#return history, df, basedir
|
234 |
|