Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -190,7 +190,7 @@ class ConversationBot:
|
|
190 |
def clear_button(self):
|
191 |
return gr.Button.update(visible=False)
|
192 |
def init_agent(self, openai_api_key):
|
193 |
-
os.system(nvidia-smi)
|
194 |
self.llm = OpenAI(temperature=0, openai_api_key=openai_api_key)
|
195 |
self.agent = initialize_agent(
|
196 |
self.tools,
|
|
|
190 |
def clear_button(self):
|
191 |
return gr.Button.update(visible=False)
|
192 |
def init_agent(self, openai_api_key):
|
193 |
+
os.system('nvidia-smi')
|
194 |
self.llm = OpenAI(temperature=0, openai_api_key=openai_api_key)
|
195 |
self.agent = initialize_agent(
|
196 |
self.tools,
|