Sabbah13 commited on
Commit
88bd71c
1 Parent(s): 92ce7a1

Update openai_requests.py

Browse files
Files changed (1) hide show
  1. 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')