Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -31,6 +31,7 @@ def read_root():
|
|
31 |
@app.post("/api")
|
32 |
def read_root(data: req):
|
33 |
print("Prompt:", data.prompt)
|
|
|
34 |
|
35 |
history_string = "\n".join(data.history)
|
36 |
|
|
|
31 |
@app.post("/api")
|
32 |
def read_root(data: req):
|
33 |
print("Prompt:", data.prompt)
|
34 |
+
print("History:", data.history)
|
35 |
|
36 |
history_string = "\n".join(data.history)
|
37 |
|