Spaces:
Sleeping
Sleeping
Commit
·
400c145
1
Parent(s):
b9a8926
updates
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ hugging_face_api_key = os.getenv("HUGGING_FACE_API_KEY")
|
|
18 |
openai_api_key = os.getenv("OPENAI_API_KEY")
|
19 |
|
20 |
# Set the API key for OpenAI
|
21 |
-
openai.api_key = openai_api_key
|
22 |
|
23 |
import requests
|
24 |
|
@@ -29,10 +29,7 @@ headers = {
|
|
29 |
response = requests.get("https://api.huggingface.co/endpoint", headers=headers)
|
30 |
print(response.json())
|
31 |
|
32 |
-
|
33 |
-
=======
|
34 |
-
|
35 |
-
>>>>>>> Stashed changes
|
36 |
|
37 |
user_prompt_examples =[
|
38 |
"Find me the stars in the hayedes cluster.",
|
|
|
18 |
openai_api_key = os.getenv("OPENAI_API_KEY")
|
19 |
|
20 |
# Set the API key for OpenAI
|
21 |
+
//openai.api_key = openai_api_key
|
22 |
|
23 |
import requests
|
24 |
|
|
|
29 |
response = requests.get("https://api.huggingface.co/endpoint", headers=headers)
|
30 |
print(response.json())
|
31 |
|
32 |
+
openai_key = openai_api_key
|
|
|
|
|
|
|
33 |
|
34 |
user_prompt_examples =[
|
35 |
"Find me the stars in the hayedes cluster.",
|