File size: 586 Bytes
342de3e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import gradio as gr

description = """
When in legal doubt, you better call BLOOM! Ask BLOOM any legal question:
<img src="https://huggingface.co/spaces/tomrb/bettercallbloom/resolve/main/img.jpeg" width=200px>
"""
title = "Better Call Bloom!"
examples = [["Adventurer is approached by a mysterious stranger in the tavern for a new quest."]]



def greet(name):
    return "Hello " + name + "!"

demo = gr.Interface(
    fn=greet,
    inputs=gr.Textbox(lines=2, placeholder="Write your question here..."),
    outputs="text",
    title=title,
    description=description
)
demo.launch()