yoon-gu commited on
Commit
f46fc65
β€’
1 Parent(s): 1e69ec4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -118,7 +118,8 @@ with gr.Blocks() as demo:
118
  button3 = gr.Button(value="3번")
119
  button4 = gr.Button(value="4번")
120
 
121
- def respond(message, chat_history, user, quiz_count, gen, types, request: gr.Request):
 
122
  if user.strip() == "":
123
  raise gr.Error("μ‚¬μš©μž 이름을 μž…λ ₯ν•˜μ„Έμš”.")
124
  message = message.strip()
 
118
  button3 = gr.Button(value="3번")
119
  button4 = gr.Button(value="4번")
120
 
121
+ def respond(message, chat_history, user, quiz_count, gen, types, profile: Optional[gr.OAuthProfile]):
122
+ print(profile)
123
  if user.strip() == "":
124
  raise gr.Error("μ‚¬μš©μž 이름을 μž…λ ₯ν•˜μ„Έμš”.")
125
  message = message.strip()