meta llm test
Browse files
app.py
CHANGED
@@ -5,7 +5,6 @@ import os
|
|
5 |
import soundfile as sf
|
6 |
import tempfile
|
7 |
import uuid
|
8 |
-
import transformers
|
9 |
import torch
|
10 |
import time
|
11 |
|
@@ -134,8 +133,8 @@ def bot(history,message):
|
|
134 |
"""
|
135 |
Prints the LLM's response in the chatbot
|
136 |
"""
|
137 |
-
|
138 |
-
response = "bot_response(message)"
|
139 |
history[-1][1] = ""
|
140 |
for character in response:
|
141 |
history[-1][1] += character
|
|
|
5 |
import soundfile as sf
|
6 |
import tempfile
|
7 |
import uuid
|
|
|
8 |
import torch
|
9 |
import time
|
10 |
|
|
|
133 |
"""
|
134 |
Prints the LLM's response in the chatbot
|
135 |
"""
|
136 |
+
response = bot_response(message, history, 0.7, 100)
|
137 |
+
#response = "bot_response(message)"
|
138 |
history[-1][1] = ""
|
139 |
for character in response:
|
140 |
history[-1][1] += character
|