bstraehle commited on
Commit
04e5ddd
1 Parent(s): 525b12c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def invoke(prompt):
33
  gr.close_all()
34
  demo = gr.Interface(fn=invoke,
35
  inputs = [gr.Textbox(label = "Prompt", lines = 1)],
36
- outputs = [gr.Textbox(label = "Result", lines = 1)],
37
  title = "Generative AI - Text",
38
  description = "<a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://aws.amazon.com/bedrock/'>Amazon Bedrock</a> API with Claude 2 foundation model")
39
  demo.launch()
 
33
  gr.close_all()
34
  demo = gr.Interface(fn=invoke,
35
  inputs = [gr.Textbox(label = "Prompt", lines = 1)],
36
+ outputs = [gr.Textbox(label = "Completion", lines = 1)],
37
  title = "Generative AI - Text",
38
  description = "<a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://aws.amazon.com/bedrock/'>Amazon Bedrock</a> API with Claude 2 foundation model")
39
  demo.launch()