Falcon-Bot / app.py
kingabzpro's picture
Update app.py
1bd52ac
raw
history blame
436 Bytes
import gradio as gr
title = "Falcon-7B"
examples = [
["The tower is 324 metres (1,063 ft) tall,"],
["The Moon's orbit around Earth has"],
["The smooth Borealis basin in the Northern Hemisphere covers 40%"],
]
demo = gr.load(
"tiiuae/falcon-rw-1b",
inputs=gr.Textbox(lines=5, max_lines=6, label="Input Text"),
title=title,
examples=examples,
src='models'
)
if __name__ == "__main__":
demo.launch()