DHRUV SHEKHAWAT commited on
Commit
6d1b602
·
1 Parent(s): 2c0c6d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ def generate_response(prompt):
112
 
113
  response = response.json()
114
  imageurl = response['data'][0]['url']
115
- ie = f"Here is the generated image:\n {imageurl} \n \n Model used: `{model_name}`"
116
  st.session_state['messages'].append({"role": "assistant", "content": ie})
117
 
118
  except requests.exceptions.JSONDecodeError as e:
 
112
 
113
  response = response.json()
114
  imageurl = response['data'][0]['url']
115
+ ie = f"Here is the generated image:\n {imageurl} \n \n Model used: `{image_model}`"
116
  st.session_state['messages'].append({"role": "assistant", "content": ie})
117
 
118
  except requests.exceptions.JSONDecodeError as e: