AFischer1985 commited on
Commit
4e604eb
·
verified ·
1 Parent(s): 8261053

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ def multimodalResponse(message,history):
21
  api_name="/process_image")
22
  shutil.copy(result[0]['image'],os.getcwd())
23
  os.rename('image.webp', 'image'+str(id)+'.webp')
24
- return "Prompt '"+message+"': ![image](/file="+os.getcwd()+"/image"+length+".webp)"
25
  bot=gr.Chatbot(
26
  value=[[None,"I'm a simple image-generating chatbot. Please tell me what you would like to see."]],
27
  render_markdown=True)
 
21
  api_name="/process_image")
22
  shutil.copy(result[0]['image'],os.getcwd())
23
  os.rename('image.webp', 'image'+str(id)+'.webp')
24
+ return "Prompt '"+message+"': ![image](/file="+os.getcwd()+"/image"+str(id)+".webp)"
25
  bot=gr.Chatbot(
26
  value=[[None,"I'm a simple image-generating chatbot. Please tell me what you would like to see."]],
27
  render_markdown=True)