johann22 commited on
Commit
4833e32
β€’
1 Parent(s): fcd5f8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -107,7 +107,7 @@ def run(purpose,history,model_drop):
107
  r = requests.get(url, stream=True)
108
  if r.status_code == 200:
109
  out = Image.open(io.BytesIO(r.content))
110
- yield ("",[(purpose,out_prompt)],out)
111
  #return ("", [(purpose,history)])
112
 
113
 
@@ -115,7 +115,7 @@ def run(purpose,history,model_drop):
115
  ################################################
116
 
117
  with gr.Blocks() as iface:
118
- gr.HTML("""<center><h1>Chat Diffusion</h1><br><h3>This chatbot will generate images</h3></center>""")
119
  #chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
120
  with gr.Row():
121
  with gr.Column():
 
107
  r = requests.get(url, stream=True)
108
  if r.status_code == 200:
109
  out = Image.open(io.BytesIO(r.content))
110
+ yield ([(purpose,out_prompt)],out)
111
  #return ("", [(purpose,history)])
112
 
113
 
 
115
  ################################################
116
 
117
  with gr.Blocks() as iface:
118
+ gr.HTML("""<center><h1>Mixtral Chat Diffusion</h1><br><h3>This chatbot will generate images</h3></center>""")
119
  #chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
120
  with gr.Row():
121
  with gr.Column():