Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,12 +52,12 @@ with demo:
|
|
| 52 |
#chat_model_selection = chat_model_dropdown.value
|
| 53 |
chat_model_selection = 'Intel/neural-chat-7b-v1-1'
|
| 54 |
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
|
| 62 |
#def call_api_and_stream_response(query, chat_model):
|
| 63 |
# """
|
|
|
|
| 52 |
#chat_model_selection = chat_model_dropdown.value
|
| 53 |
chat_model_selection = 'Intel/neural-chat-7b-v1-1'
|
| 54 |
|
| 55 |
+
#def slow_echo(message, history):
|
| 56 |
+
# for i in range(len(message)):
|
| 57 |
+
# time.sleep(0.3)
|
| 58 |
+
# yield "You typed: " + message[: i+1]
|
| 59 |
+
#
|
| 60 |
+
#gr.ChatInterface(slow_echo).launch()
|
| 61 |
|
| 62 |
#def call_api_and_stream_response(query, chat_model):
|
| 63 |
# """
|