Update openai_requests.py
Browse files- openai_requests.py +1 -0
openai_requests.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import os
|
2 |
import streamlit as st
|
|
|
3 |
|
4 |
def get_completion_from_openai(prompt, max_tokens):
|
5 |
url = os.getenv('OPENAI_COMPLETION_URL')
|
|
|
1 |
import os
|
2 |
import streamlit as st
|
3 |
+
import requests
|
4 |
|
5 |
def get_completion_from_openai(prompt, max_tokens):
|
6 |
url = os.getenv('OPENAI_COMPLETION_URL')
|