Update app.py
Browse files
app.py
CHANGED
@@ -36,10 +36,13 @@ def invoke(prompt):
|
|
36 |
wandb.log({"prompt": prompt, "completion": completion})
|
37 |
return completion
|
38 |
|
|
|
|
|
|
|
39 |
gr.close_all()
|
40 |
demo = gr.Interface(fn=invoke,
|
41 |
inputs = [gr.Textbox(label = "Prompt", lines = 1)],
|
42 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
43 |
title = "Generative AI - Language",
|
44 |
-
description =
|
45 |
demo.launch()
|
|
|
36 |
wandb.log({"prompt": prompt, "completion": completion})
|
37 |
return completion
|
38 |
|
39 |
+
decription = "<a href='https://www.gradio.app/'>Gradio</a> UI using <a href='https://cloud.google.com/vertex-ai?hl=en/'>Google Vertex AI</a> API " +
|
40 |
+
"with Bison foundation model. Model performance evaluation via <a href='https://wandb.ai/bstraehle'>Weights & Biases</a>."
|
41 |
+
|
42 |
gr.close_all()
|
43 |
demo = gr.Interface(fn=invoke,
|
44 |
inputs = [gr.Textbox(label = "Prompt", lines = 1)],
|
45 |
outputs = [gr.Textbox(label = "Completion", lines = 1)],
|
46 |
title = "Generative AI - Language",
|
47 |
+
description = description)
|
48 |
demo.launch()
|