ZeeAI1 commited on
Commit
2de2983
·
verified ·
1 Parent(s): 28ce2b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,4 +1,3 @@
1
-
2
  import os
3
  import gradio as gr
4
  import sqlite3
@@ -8,7 +7,7 @@ from utils import generate_double_entry, save_transaction
8
 
9
  load_dotenv()
10
 
11
- openai.api_key = os.getenv(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)
12
  openai.api_base = "https://api.groq.com/openai/v1"
13
 
14
  def call_groq(prompt):
@@ -27,4 +26,4 @@ def accounting_chatbot(user_input):
27
  return output
28
 
29
  demo = gr.ChatInterface(fn=accounting_chatbot, title="AI Accounting Assistant")
30
- demo.launch()
 
 
1
  import os
2
  import gradio as gr
3
  import sqlite3
 
7
 
8
  load_dotenv()
9
 
10
+ openai.api_key = os.getenv(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)
11
  openai.api_base = "https://api.groq.com/openai/v1"
12
 
13
  def call_groq(prompt):
 
26
  return output
27
 
28
  demo = gr.ChatInterface(fn=accounting_chatbot, title="AI Accounting Assistant")
29
+ demo.launch()