alexkueck commited on
Commit
a5559e0
1 Parent(s): 38332fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -144,6 +144,9 @@ def add_file(history, file, prompt):
144
  history = history + [((file.name,), None), (prompt, None)]
145
  return history, prompt, ""
146
 
 
 
 
147
  def create_picture_backup(history, prompt):
148
  client = OpenAI()
149
  response = client.images.generate(model="dall-e-3", prompt=prompt,size="1024x1024",quality="standard",n=1,)
 
144
  history = history + [((file.name,), None), (prompt, None)]
145
  return history, prompt, ""
146
 
147
+ def file_anzeigen(file):
148
+ return file.name
149
+
150
  def create_picture_backup(history, prompt):
151
  client = OpenAI()
152
  response = client.images.generate(model="dall-e-3", prompt=prompt,size="1024x1024",quality="standard",n=1,)