Update app.py
Browse files
app.py
CHANGED
|
@@ -272,7 +272,8 @@ def generate(
|
|
| 272 |
pd.DataFrame(conversation).to_csv(DATA_FILE, index=False)
|
| 273 |
print("updating conversation")
|
| 274 |
repo.push_to_hub(blocking=False, commit_message=f"Updating data at {datetime.datetime.now()}")
|
| 275 |
-
|
|
|
|
| 276 |
# Set up the TextIteratorStreamer
|
| 277 |
streamer = TextIteratorStreamer(tokenizer, timeout=10.0, skip_prompt=True, skip_special_tokens=True)
|
| 278 |
|
|
|
|
| 272 |
pd.DataFrame(conversation).to_csv(DATA_FILE, index=False)
|
| 273 |
print("updating conversation")
|
| 274 |
repo.push_to_hub(blocking=False, commit_message=f"Updating data at {datetime.datetime.now()}")
|
| 275 |
+
print(conversation)
|
| 276 |
+
|
| 277 |
# Set up the TextIteratorStreamer
|
| 278 |
streamer = TextIteratorStreamer(tokenizer, timeout=10.0, skip_prompt=True, skip_special_tokens=True)
|
| 279 |
|