Update generate_text.py
Browse files- generate_text.py +1 -1
generate_text.py
CHANGED
@@ -31,7 +31,7 @@ def call_gpt(prompt):
|
|
31 |
print('Error communicating with OpenAI:', oops)
|
32 |
sleep(1)
|
33 |
|
34 |
-
def
|
35 |
prompt = open_file('prompt_response.txt')
|
36 |
response = call_gpt(prompt)
|
37 |
return response
|
|
|
31 |
print('Error communicating with OpenAI:', oops)
|
32 |
sleep(1)
|
33 |
|
34 |
+
def call_llm():
|
35 |
prompt = open_file('prompt_response.txt')
|
36 |
response = call_gpt(prompt)
|
37 |
return response
|