Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -158,8 +158,8 @@ def run_gpt_no_prefix(
|
|
158 |
resp += response.token.text
|
159 |
#yield resp
|
160 |
|
161 |
-
if VERBOSE:
|
162 |
-
|
163 |
return resp
|
164 |
|
165 |
|
@@ -309,6 +309,7 @@ def get_chart(inp):
|
|
309 |
seed=seed,
|
310 |
inp=inp,
|
311 |
).strip("\n")
|
|
|
312 |
except Exception as e:
|
313 |
resp = e
|
314 |
return resp
|
|
|
158 |
resp += response.token.text
|
159 |
#yield resp
|
160 |
|
161 |
+
#if VERBOSE:
|
162 |
+
print(LOG_RESPONSE.format(resp))
|
163 |
return resp
|
164 |
|
165 |
|
|
|
309 |
seed=seed,
|
310 |
inp=inp,
|
311 |
).strip("\n")
|
312 |
+
print(resp)
|
313 |
except Exception as e:
|
314 |
resp = e
|
315 |
return resp
|