Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ def generate(instruction, temperature=0.9, max_new_tokens=256, top_p=0.95, top_k
|
|
| 77 |
try:
|
| 78 |
print("Pushing prompt and completion to the Hub")
|
| 79 |
save_inputs_and_outputs(formatted_instruction, output, generate_kwargs)
|
| 80 |
-
except Exception
|
| 81 |
print(e)
|
| 82 |
|
| 83 |
return output
|
|
|
|
| 77 |
try:
|
| 78 |
print("Pushing prompt and completion to the Hub")
|
| 79 |
save_inputs_and_outputs(formatted_instruction, output, generate_kwargs)
|
| 80 |
+
except Exception as e:
|
| 81 |
print(e)
|
| 82 |
|
| 83 |
return output
|