Spaces:
Runtime error
Runtime error
gorkemgoknar
commited on
Commit
•
b20afa0
1
Parent(s):
5d4cdcd
Update app.py
Browse filesfix llama output
app.py
CHANGED
@@ -88,8 +88,8 @@ def get_audio_url(text,character):
|
|
88 |
def get_response_cpp(prompt):
|
89 |
|
90 |
output = llm(prompt, max_tokens=32, stop=["#","sierpeda"], echo=True)
|
91 |
-
print(output)
|
92 |
-
|
93 |
|
94 |
return response_text
|
95 |
|
|
|
88 |
def get_response_cpp(prompt):
|
89 |
|
90 |
output = llm(prompt, max_tokens=32, stop=["#","sierpeda"], echo=True)
|
91 |
+
#print(output)
|
92 |
+
response_text= output["choices"][0]["text"]
|
93 |
|
94 |
return response_text
|
95 |
|