bstraehle commited on
Commit
9468ae4
1 Parent(s): dfa34b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- "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 - Language",
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()