bstraehle commited on
Commit
2e1fa75
·
1 Parent(s): 8cf750e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -144,8 +144,8 @@ def invoke(openai_api_key, rag_option, prompt):
144
  except Exception as e:
145
  completion = e
146
  raise gr.Error(e)
147
- #finally:
148
- # wandb.finish()
149
  return completion
150
 
151
  description = """<strong>Overview:</strong> Context-aware multimodal reasoning application using a <strong>large language model (LLM)</strong> with
 
144
  except Exception as e:
145
  completion = e
146
  raise gr.Error(e)
147
+ finally:
148
+ wandb.finish()
149
  return completion
150
 
151
  description = """<strong>Overview:</strong> Context-aware multimodal reasoning application using a <strong>large language model (LLM)</strong> with