Spaces:
Runtime error
Runtime error
Fixing Space (seed variable doesn't exist)
Browse filesFix a bug introduced in #8.
app.py
CHANGED
@@ -320,7 +320,6 @@ def simple_call(prompt1, prompt2, profile: gr.OAuthProfile | None=None):
|
|
320 |
user_history.save_image(label=f"{prompt1} / {prompt2}", image=image1, profile=profile, metadata={
|
321 |
"prompt2": prompt1,
|
322 |
"prompt1": prompt2,
|
323 |
-
"seed": seed,
|
324 |
})
|
325 |
|
326 |
return image1
|
|
|
320 |
user_history.save_image(label=f"{prompt1} / {prompt2}", image=image1, profile=profile, metadata={
|
321 |
"prompt2": prompt1,
|
322 |
"prompt1": prompt2,
|
|
|
323 |
})
|
324 |
|
325 |
return image1
|