jadend commited on
Commit
403361c
·
verified ·
1 Parent(s): d66ff45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -63,7 +63,7 @@ description = "Use the examples below to see how different prompts generate diff
63
  "philosophical debate) with three different levels of prompt engineering, (basic, intermediate, and advanced)."
64
 
65
  demo = gr.Interface(fn=mr_bot,
66
- inputs=[gr.Textbox(placeholder="Select an example", interactive=False), gr.Slider(1, 800, default=800), gr.Slider(0.1, 1, default=0.75)],
67
  outputs="text",
68
  title="Intro to AI, Prompt Engineering",
69
  description=description,
@@ -100,8 +100,9 @@ demo = gr.Interface(fn=mr_bot,
100
  )
101
 
102
  if __name__ == "__main__":
103
- demo.launch(enable_queue=False,
104
- # if authentication is needed, uncomment below
 
105
  # auth=lambda u, p: user_db.get(u) == p,
106
  # auth_message="Welcome!"
107
  )
 
63
  "philosophical debate) with three different levels of prompt engineering, (basic, intermediate, and advanced)."
64
 
65
  demo = gr.Interface(fn=mr_bot,
66
+ inputs=[gr.Textbox(placeholder="Select an example", interactive=False), gr.Slider(1, 800, value=800), gr.Slider(0.1, 1, value=0.75)],
67
  outputs="text",
68
  title="Intro to AI, Prompt Engineering",
69
  description=description,
 
100
  )
101
 
102
  if __name__ == "__main__":
103
+ demo.launch(
104
+ # enable_queue=False,
105
+ ## if authentication is needed, uncomment below
106
  # auth=lambda u, p: user_db.get(u) == p,
107
  # auth_message="Welcome!"
108
  )