fudii0921 commited on
Commit
fdf6aba
·
verified ·
1 Parent(s): 8a55f36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -28,6 +28,8 @@ def toggle_all(prompt):
28
  answer = response.choices[0].message.content
29
  #answer = prompt+" answered."
30
  return gr.update(visible=True), answer
 
 
31
 
32
  def hello(profile: gr.OAuthProfile | None) -> str:
33
  # ^ expect a gr.OAuthProfile object as input to get the user's profile
 
28
  answer = response.choices[0].message.content
29
  #answer = prompt+" answered."
30
  return gr.update(visible=True), answer
31
+ else:
32
+ print("no prompt")
33
 
34
  def hello(profile: gr.OAuthProfile | None) -> str:
35
  # ^ expect a gr.OAuthProfile object as input to get the user's profile