Spaces:
Build error
Build error
Update app.py
Browse files
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 |
-
|
148 |
-
|
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
|