Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def chatgpt(query):
|
|
10 |
return dictionary[query]
|
11 |
|
12 |
def generateimage1(query):
|
13 |
-
return
|
14 |
|
15 |
def generateimage2(query):
|
16 |
return os.path.join(os.path.dirname(__file__), query.replace(' ', '-') + '-chatgpt.png')
|
|
|
10 |
return dictionary[query]
|
11 |
|
12 |
def generateimage1(query):
|
13 |
+
return query.replace(' ', '-') + '.png'
|
14 |
|
15 |
def generateimage2(query):
|
16 |
return os.path.join(os.path.dirname(__file__), query.replace(' ', '-') + '-chatgpt.png')
|