Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -202,6 +202,8 @@ def generate_api(
|
|
| 202 |
progress=gr.Progress(track_tqdm=True) # Add progress as a keyword argument
|
| 203 |
):
|
| 204 |
seed = random.randint(0, MAX_SEED)
|
|
|
|
|
|
|
| 205 |
rv_image = client.text_to_image(
|
| 206 |
prompt = prompt,
|
| 207 |
negative_prompt = negative_prompt,
|
|
|
|
| 202 |
progress=gr.Progress(track_tqdm=True) # Add progress as a keyword argument
|
| 203 |
):
|
| 204 |
seed = random.randint(0, MAX_SEED)
|
| 205 |
+
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 206 |
+
uploadNote(prompt,num_inference_steps,guidance_scale,timestamp)
|
| 207 |
rv_image = client.text_to_image(
|
| 208 |
prompt = prompt,
|
| 209 |
negative_prompt = negative_prompt,
|