akhaliq HF Staff commited on
Commit
e650e3a
·
verified ·
1 Parent(s): 73eca71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -11,7 +11,7 @@ client = OpenAI(
11
  }
12
  )
13
 
14
- def process_message(message, history, image, profile: gr.OAuthProfile, token: gr.OAuthToken):
15
  """
16
  Process user message and image, send to the model, and return the response.
17
  """
@@ -66,9 +66,6 @@ with gr.Blocks() as demo:
66
  '</a>'
67
  )
68
 
69
- # Add OAuth login button
70
- gr.LoginButton()
71
-
72
  chatbot = gr.Chatbot(
73
  label="Conversation",
74
  height=400,
 
11
  }
12
  )
13
 
14
+ def process_message(message, history, image):
15
  """
16
  Process user message and image, send to the model, and return the response.
17
  """
 
66
  '</a>'
67
  )
68
 
 
 
 
69
  chatbot = gr.Chatbot(
70
  label="Conversation",
71
  height=400,