shogi880 commited on
Commit
7870e4d
1 Parent(s): 66ff20c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ 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')
17
 
18
  with gr.Blocks() as demo:
19
  gr.Markdown("Ask **[ChatGPT](https://chat.openai.com)** to generate detailed descriptbions.")
 
13
  return query.replace(' ', '-') + '.png'
14
 
15
  def generateimage2(query):
16
+ return query.replace(' ', '-') + '-chatgpt.png'
17
 
18
  with gr.Blocks() as demo:
19
  gr.Markdown("Ask **[ChatGPT](https://chat.openai.com)** to generate detailed descriptbions.")