Update app.py
Browse files
app.py
CHANGED
@@ -41,14 +41,14 @@ def invoke(prompt):
|
|
41 |
wandb.log({"prompt": prompt, "completion": completion})
|
42 |
return completion
|
43 |
|
44 |
-
description = "<a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://aws.amazon.com/bedrock/'>Amazon Bedrock</a> API
|
45 |
-
|
46 |
-
|
47 |
|
48 |
gr.close_all()
|
49 |
demo = gr.Interface(fn=invoke,
|
50 |
inputs = [gr.Textbox(label = "Prompt", lines = 1)],
|
51 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
52 |
-
title = "Generative AI -
|
53 |
description = description)
|
54 |
demo.launch()
|
|
|
41 |
wandb.log({"prompt": prompt, "completion": completion})
|
42 |
return completion
|
43 |
|
44 |
+
description = """<a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://aws.amazon.com/bedrock/'>Amazon Bedrock</a> API
|
45 |
+
with <a href='https://www.anthropic.com/'>Anthropic</a> Claude 2 foundation model.
|
46 |
+
Model performance evaluation via <a href='https://wandb.ai/bstraehle'>Weights & Biases</a>."""
|
47 |
|
48 |
gr.close_all()
|
49 |
demo = gr.Interface(fn=invoke,
|
50 |
inputs = [gr.Textbox(label = "Prompt", lines = 1)],
|
51 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
52 |
+
title = "Generative AI - LLM",
|
53 |
description = description)
|
54 |
demo.launch()
|