Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
from huggingface_hub import InferenceClient, login
|
2 |
from transformers import AutoTokenizer
|
3 |
from langchain.chat_models import ChatOpenAI
|
@@ -356,5 +357,5 @@ chat_interface_stream = gr.ChatInterface(fn=generate,
|
|
356 |
with gr.Blocks() as demo:
|
357 |
with gr.Tab("Chatbot"):
|
358 |
#chatbot_stream.like(vote, None, None)
|
359 |
-
chat_interface_stream.queue().launch()
|
360 |
|
|
|
1 |
+
import requests
|
2 |
from huggingface_hub import InferenceClient, login
|
3 |
from transformers import AutoTokenizer
|
4 |
from langchain.chat_models import ChatOpenAI
|
|
|
357 |
with gr.Blocks() as demo:
|
358 |
with gr.Tab("Chatbot"):
|
359 |
#chatbot_stream.like(vote, None, None)
|
360 |
+
chat_interface_stream.queue().launch()
|
361 |
|