bstraehle commited on
Commit
c558024
·
verified ·
1 Parent(s): 1d52e18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,7 +35,7 @@ def invoke(prompt):
35
  if not prompt:
36
  raise gr.Error("Prompt is required.")
37
 
38
- raise gr.Error("Please clone and bring your own credentials.")
39
 
40
  completion = ""
41
 
@@ -62,7 +62,7 @@ description = """<a href='https://www.gradio.app/'>Gradio</a> UI using the <a hr
62
  gr.close_all()
63
 
64
  demo = gr.Interface(fn = invoke,
65
- inputs = [gr.Textbox(label = "Prompt", value = "hi", lines = 1)],
66
  outputs = [gr.Textbox(label = "Completion", lines = 1)],
67
  description = description)
68
 
 
35
  if not prompt:
36
  raise gr.Error("Prompt is required.")
37
 
38
+ #raise gr.Error("Please clone and bring your own credentials.")
39
 
40
  completion = ""
41
 
 
62
  gr.close_all()
63
 
64
  demo = gr.Interface(fn = invoke,
65
+ inputs = [gr.Textbox(label = "Prompt", value = "If I dry one shirt in the sun, it takes 1 hour. How long do 3 shirts take?", lines = 1)],
66
  outputs = [gr.Textbox(label = "Completion", lines = 1)],
67
  description = description)
68