Update app.py
Browse files
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 = "
|
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()
|