Update generate_text.py
Browse files- generate_text.py +2 -1
generate_text.py
CHANGED
@@ -33,4 +33,5 @@ def call_gpt(prompt):
|
|
33 |
|
34 |
def generate_text():
|
35 |
prompt = open_file('prompt_response.txt')
|
36 |
-
call_gpt(prompt)
|
|
|
|
33 |
|
34 |
def generate_text():
|
35 |
prompt = open_file('prompt_response.txt')
|
36 |
+
response = call_gpt(prompt)
|
37 |
+
return response
|