Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def process_input(text, rag, prompt_template):
|
|
41 |
output = generate(prompt)
|
42 |
|
43 |
# Generamos el archivo JSON
|
44 |
-
with open('
|
45 |
json.dump(output, f)
|
46 |
|
47 |
return output
|
|
|
41 |
output = generate(prompt)
|
42 |
|
43 |
# Generamos el archivo JSON
|
44 |
+
with open('output2.json', 'w') as f:
|
45 |
json.dump(output, f)
|
46 |
|
47 |
return output
|