Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,12 +49,12 @@ def respond(
|
|
49 |
token = msg.choices[0].delta.content
|
50 |
response += token
|
51 |
yield response
|
52 |
-
print("----- SYSTEM MESSAGE -----")
|
53 |
-
print(messages[0]["content"])
|
54 |
-
print("----- FULL MESSAGES LIST -----")
|
55 |
-
for m in messages:
|
56 |
-
|
57 |
-
print("-------------------------")
|
58 |
|
59 |
# Step 3: Build a Gradio Blocks interface with two Tabs
|
60 |
with gr.Blocks() as demo:
|
|
|
49 |
token = msg.choices[0].delta.content
|
50 |
response += token
|
51 |
yield response
|
52 |
+
# print("----- SYSTEM MESSAGE -----")
|
53 |
+
# print(messages[0]["content"])
|
54 |
+
# print("----- FULL MESSAGES LIST -----")
|
55 |
+
# for m in messages:
|
56 |
+
# print(m)
|
57 |
+
# print("-------------------------")
|
58 |
|
59 |
# Step 3: Build a Gradio Blocks interface with two Tabs
|
60 |
with gr.Blocks() as demo:
|