Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
aashnajoshi committed Mar 25, 2024
1 parent d400be7 commit 325e6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def handle_input(prompt, model_type):

elif model_type == "image":
response = openai.Image.create(prompt=user_input, n=1)
print(response['data'][0]['url'])
print(f"Here's an image link to \"{user_input}\"\n\n",response['data'][0]['url'])

further_question = input("Do you want to explore the bot further? (Y/N): ").capitalize()
while further_question not in {"Y", "N"}:
Expand Down

0 comments on commit 325e6ee

Please sign in to comment.