Spaces:
Runtime error
Runtime error
rodolfoocampo
commited on
Commit
•
1031360
1
Parent(s):
3a159e9
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
def generateStory(theme1, theme2):
|
2 |
openai.api_key = {API_KEY}
|
3 |
prompt_text = "Write a children's story about \"{}\" and \"{}\".".format(theme1,theme2)
|
|
|
1 |
+
import numpy as np
|
2 |
+
import gradio as gr
|
3 |
+
import openai
|
4 |
+
import os
|
5 |
+
|
6 |
def generateStory(theme1, theme2):
|
7 |
openai.api_key = {API_KEY}
|
8 |
prompt_text = "Write a children's story about \"{}\" and \"{}\".".format(theme1,theme2)
|