Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,7 +112,7 @@ class ProgressCallback:
|
|
| 112 |
self.current_step = 0
|
| 113 |
|
| 114 |
def __call__(self, step, timestep, latents):
|
| 115 |
-
self.current_step = step
|
| 116 |
progress_percent = (step / self.total_steps) * 100
|
| 117 |
#self.progress(progress_percent / 100, desc=f"Transformation läuft... {progress_percent:.1f}%")
|
| 118 |
self.progress(progress_percent / 100, desc="Generierung läuft - CPU benötigt bis zu 6 Minuten!")
|
|
|
|
| 112 |
self.current_step = 0
|
| 113 |
|
| 114 |
def __call__(self, step, timestep, latents):
|
| 115 |
+
self.current_step = step + 1
|
| 116 |
progress_percent = (step / self.total_steps) * 100
|
| 117 |
#self.progress(progress_percent / 100, desc=f"Transformation läuft... {progress_percent:.1f}%")
|
| 118 |
self.progress(progress_percent / 100, desc="Generierung läuft - CPU benötigt bis zu 6 Minuten!")
|