shogi880 commited on
Commit
f78dae6
·
1 Parent(s): 6088b14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def chatgpt(query):
10
  return dictionary[query]
11
 
12
  def generateimage1(query):
13
- return os.path.join(os.path.dirname(__file__), query.replace(' ', '-') + '.png')
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')