Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,6 @@ def respond(message, history):
|
|
22 |
|
23 |
try:
|
24 |
for chunk in client.chat.completions.create(
|
25 |
-
model="cognitivecomputations/dolphin3.0-mistral-24b:free",
|
26 |
messages=messages,
|
27 |
max_tokens=FIXED_MAX_TOKENS,
|
28 |
stream=True,
|
@@ -41,8 +40,7 @@ def respond(message, history):
|
|
41 |
|
42 |
with gr.Blocks() as demo:
|
43 |
gr.ChatInterface(respond, chatbot=gr.Chatbot(height=800))
|
44 |
-
|
45 |
-
gr.themes.Glass()
|
46 |
|
47 |
if __name__ == "__main__":
|
48 |
demo.launch(show_api=True, share=False)
|
|
|
22 |
|
23 |
try:
|
24 |
for chunk in client.chat.completions.create(
|
|
|
25 |
messages=messages,
|
26 |
max_tokens=FIXED_MAX_TOKENS,
|
27 |
stream=True,
|
|
|
40 |
|
41 |
with gr.Blocks() as demo:
|
42 |
gr.ChatInterface(respond, chatbot=gr.Chatbot(height=800))
|
43 |
+
gr.themes.Glass
|
|
|
44 |
|
45 |
if __name__ == "__main__":
|
46 |
demo.launch(show_api=True, share=False)
|