Spaces:
Paused
Paused
Update app_torch.py
Browse files- app_torch.py +1 -0
app_torch.py
CHANGED
|
@@ -197,6 +197,7 @@ def generate_output(prompt, mode, duration, width, height, steps, guidance, sche
|
|
| 197 |
This generation function assumes the pipeline is already loaded (pipe variable).
|
| 198 |
It will raise a helpful error if the pipeline wasn't loaded at startup.
|
| 199 |
"""
|
|
|
|
| 200 |
if pipe is None:
|
| 201 |
return None, "❌ Pipeline not initialized at startup. Check logs."
|
| 202 |
|
|
|
|
| 197 |
This generation function assumes the pipeline is already loaded (pipe variable).
|
| 198 |
It will raise a helpful error if the pipeline wasn't loaded at startup.
|
| 199 |
"""
|
| 200 |
+
print(prompt)
|
| 201 |
if pipe is None:
|
| 202 |
return None, "❌ Pipeline not initialized at startup. Check logs."
|
| 203 |
|