Daevesh commited on
Commit
4b6c3f7
·
1 Parent(s): 03af313

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@
2
  import os
3
  import openai
4
 
5
- openai.api_key="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"
6
 
7
  def get_completion(prompt, model="gpt-3.5-turbo"):
8
  messages = [{"role": "user", "content": prompt}]
@@ -26,4 +26,4 @@ def store_string(input_string,history):
26
  # Create an interface with a text input and a submit button
27
  #interface = gr.Interface(fn=store_string, inputs=gr.inputs.Textbox(), outputs="text", allow_flagging= "auto")
28
  interface =gr.ChatInterface(store_string,analytics_enabled=True)
29
- interface.launch(inbrowser= True, auth = ('rrr','#la_test'), auth_message= "Enter your username and password that you received in on LA group")
 
2
  import os
3
  import openai
4
 
5
+ openai.api_key="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"
6
 
7
  def get_completion(prompt, model="gpt-3.5-turbo"):
8
  messages = [{"role": "user", "content": prompt}]
 
26
  # Create an interface with a text input and a submit button
27
  #interface = gr.Interface(fn=store_string, inputs=gr.inputs.Textbox(), outputs="text", allow_flagging= "auto")
28
  interface =gr.ChatInterface(store_string,analytics_enabled=True)
29
+ interface.launch(inbrowser= True, auth = [('rrr','#la_test'),('ddd','t#la')], auth_message= "Enter your username and password that you received in on LA group")