Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ def text_generate(prompt, input_prompt_sql ): #, input_prompt_dalle2):
|
|
| 64 |
final_solution = solution.split("\nOutput:")[0]
|
| 65 |
print(f"Response after removing output is: {final_solution}")
|
| 66 |
elif '\n\n' in solution:
|
| 67 |
-
final_solution = solution.split("\
|
| 68 |
print(f"Response after removing new line entries is: {final_solution}")
|
| 69 |
else:
|
| 70 |
final_solution = solution
|
|
|
|
| 64 |
final_solution = solution.split("\nOutput:")[0]
|
| 65 |
print(f"Response after removing output is: {final_solution}")
|
| 66 |
elif '\n\n' in solution:
|
| 67 |
+
final_solution = solution.split("\n\n")[0]
|
| 68 |
print(f"Response after removing new line entries is: {final_solution}")
|
| 69 |
else:
|
| 70 |
final_solution = solution
|