Keeby-smilyai commited on
Commit
ced9b63
·
verified ·
1 Parent(s): 033fdf6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -129,9 +129,6 @@ def stream_logs(project_id):
129
  yield project['logs']
130
 
131
  if project['status'] in ['completed', 'failed']:
132
- # Refresh the main dashboard one last time to show the final status
133
- # This requires a bit of a workaround since generators can only yield for one output.
134
- # The visual refresh on the dashboard will happen on the next manual click.
135
  break
136
  else:
137
  yield f"Error: Project #{project_id} not found."
 
129
  yield project['logs']
130
 
131
  if project['status'] in ['completed', 'failed']:
 
 
 
132
  break
133
  else:
134
  yield f"Error: Project #{project_id} not found."