Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,6 +71,7 @@ def run_gpt(
|
|
| 71 |
do_sample=True,
|
| 72 |
seed=seed,
|
| 73 |
)
|
|
|
|
| 74 |
if prefix_tog == "normal":
|
| 75 |
content = PREFIX.format(
|
| 76 |
timestamp=timestamp,
|
|
@@ -187,7 +188,7 @@ def get_records(inp,data):
|
|
| 187 |
history=hist,
|
| 188 |
).strip("\n")
|
| 189 |
new_history = resp
|
| 190 |
-
print (resp)
|
| 191 |
#out+=resp
|
| 192 |
e=e+chunk
|
| 193 |
s=s+chunk
|
|
|
|
| 71 |
do_sample=True,
|
| 72 |
seed=seed,
|
| 73 |
)
|
| 74 |
+
print(f'prefix_tog:: {prefix_tog}')
|
| 75 |
if prefix_tog == "normal":
|
| 76 |
content = PREFIX.format(
|
| 77 |
timestamp=timestamp,
|
|
|
|
| 188 |
history=hist,
|
| 189 |
).strip("\n")
|
| 190 |
new_history = resp
|
| 191 |
+
print (f'resp {z}::\n {resp}')
|
| 192 |
#out+=resp
|
| 193 |
e=e+chunk
|
| 194 |
s=s+chunk
|