Spaces:
Sleeping
Sleeping
Changing output so it can be read to streamlit
Browse files
app.py
CHANGED
|
@@ -39,9 +39,7 @@ print(result['result'])
|
|
| 39 |
def response_generator():
|
| 40 |
response = random.choice(
|
| 41 |
[
|
| 42 |
-
|
| 43 |
-
"Hi, human! Is there anything I can help you with?",
|
| 44 |
-
"Do you need help?",
|
| 45 |
]
|
| 46 |
)
|
| 47 |
for word in response.split():
|
|
|
|
| 39 |
def response_generator():
|
| 40 |
response = random.choice(
|
| 41 |
[
|
| 42 |
+
result['result']
|
|
|
|
|
|
|
| 43 |
]
|
| 44 |
)
|
| 45 |
for word in response.split():
|