Spaces:
Build error
Build error
Update tasks/ref_in_gpu3.py
Browse files- tasks/ref_in_gpu3.py +2 -1
tasks/ref_in_gpu3.py
CHANGED
@@ -40,7 +40,8 @@ prompts.append("replace the dog with a cat, task: (referring editing), source: [
|
|
40 |
prompts.append("replace the red apple with a green one, task: (referring editing), source: [red apple], target: <green apple>;")
|
41 |
|
42 |
def get_gpt3_response(prompt):
|
43 |
-
openai.api_key = "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"
|
|
|
44 |
# os.getenv("OPENAI_API_KEY")
|
45 |
|
46 |
response = openai.Completion.create(
|
|
|
40 |
prompts.append("replace the red apple with a green one, task: (referring editing), source: [red apple], target: <green apple>;")
|
41 |
|
42 |
def get_gpt3_response(prompt):
|
43 |
+
# openai.api_key = "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"
|
44 |
+
openai.api_key = "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"
|
45 |
# os.getenv("OPENAI_API_KEY")
|
46 |
|
47 |
response = openai.Completion.create(
|