Spaces:
Build error
Build error
kingabzpro
commited on
Commit
·
e310e98
1
Parent(s):
2e63611
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def predict(inputs, chatbot):
|
|
69 |
if len(chunk['choices'][0]['delta']) != 0:
|
70 |
print(chunk['choices'][0]['delta']['content'])
|
71 |
partial_message = partial_message + chunk['choices'][0]['delta']['content']
|
72 |
-
yield partial_message
|
73 |
|
74 |
title = "🤖ChatGPT Interface"
|
75 |
description = "Chatbots are a popular application of large language models. Using gradio, you can easily build a demo of your chatbot model and share that with your users, or try it yourself using an intuitive chatbot UI."
|
|
|
69 |
if len(chunk['choices'][0]['delta']) != 0:
|
70 |
print(chunk['choices'][0]['delta']['content'])
|
71 |
partial_message = partial_message + chunk['choices'][0]['delta']['content']
|
72 |
+
yield partial_message
|
73 |
|
74 |
title = "🤖ChatGPT Interface"
|
75 |
description = "Chatbots are a popular application of large language models. Using gradio, you can easily build a demo of your chatbot model and share that with your users, or try it yourself using an intuitive chatbot UI."
|