Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def text_generate(prompt):
|
|
24 |
print(response.json())
|
25 |
if response.status_code == 200:
|
26 |
data_str=response.json()
|
27 |
-
slack_msg="Supplied Prompt was :"+data["
|
28 |
slack_msg = slack_msg+"Response receievd was : \n\n"
|
29 |
'''
|
30 |
for i in range(4):
|
|
|
24 |
print(response.json())
|
25 |
if response.status_code == 200:
|
26 |
data_str=response.json()
|
27 |
+
slack_msg="Supplied Prompt was :"+data["inputs"]+"\n\n"
|
28 |
slack_msg = slack_msg+"Response receievd was : \n\n"
|
29 |
'''
|
30 |
for i in range(4):
|