Update main.py
Browse files
main.py
CHANGED
@@ -152,11 +152,11 @@ class Test(BaseModel):
|
|
152 |
|
153 |
@app.post("/test")
|
154 |
def test(request: Test):
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
return
|
162 |
|
|
|
152 |
|
153 |
@app.post("/test")
|
154 |
def test(request: Test):
|
155 |
+
if neg == True:
|
156 |
+
chat = "hello world"
|
157 |
+
elif neg == "True":
|
158 |
+
chat = "Hi there"
|
159 |
+
else:
|
160 |
+
chat = "Hi world"
|
161 |
+
return chat
|
162 |
|