xyplon
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def Hf():
|
|
| 45 |
'style': style
|
| 46 |
})
|
| 47 |
for chunk in req.iter_lines():
|
| 48 |
-
yield f'{chunk.decode()}\n
|
| 49 |
return Response(Gen(prompt=prompt,negative=negative,steps=steps,width=width,height=height,scale=scale,style=style,model=model), mimetype="text/event-stream")
|
| 50 |
|
| 51 |
|
|
|
|
| 45 |
'style': style
|
| 46 |
})
|
| 47 |
for chunk in req.iter_lines():
|
| 48 |
+
yield f'{chunk.decode()}\n'
|
| 49 |
return Response(Gen(prompt=prompt,negative=negative,steps=steps,width=width,height=height,scale=scale,style=style,model=model), mimetype="text/event-stream")
|
| 50 |
|
| 51 |
|