Abs6187 commited on
Commit
29ef18c
·
1 Parent(s): 8756bb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import gradio
8
  openai.api_key = "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"
9
 
10
  messages = [{"role": "system", "content": "You are a Indian Lawyer and Gave Advice according to Indian constitution"}]
11
- CustomChatGPT = pipeline("INDIAN LAWYER")
12
  def CustomChatGPT(user_input):
13
  messages.append({"role": "user", "content": user_input})
14
  response = openai.ChatCompletion.create(
 
8
  openai.api_key = "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"
9
 
10
  messages = [{"role": "system", "content": "You are a Indian Lawyer and Gave Advice according to Indian constitution"}]
11
+
12
  def CustomChatGPT(user_input):
13
  messages.append({"role": "user", "content": user_input})
14
  response = openai.ChatCompletion.create(