Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -36,21 +36,25 @@ examples = [
|
|
36 |
["[CA] I got a parking ticket in Toronto. How can I contest it?"],
|
37 |
]
|
38 |
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
)
|
47 |
-
gr.
|
|
|
|
|
|
|
|
|
|
|
48 |
<div style="border-top: 1px solid #303030;">
|
49 |
<br>
|
50 |
-
<p>Space by: <a href="https://twitter.com/
|
51 |
-
<a href="https://www.buymeacoffee.com/
|
52 |
-
<p><img src="https://visitor-badge.glitch.me/badge?page_id=
|
53 |
</div>
|
54 |
""")
|
55 |
-
|
56 |
-
demo.launch()
|
|
|
36 |
["[CA] I got a parking ticket in Toronto. How can I contest it?"],
|
37 |
]
|
38 |
|
39 |
+
with gr.Blocks() as demo:
|
40 |
+
gr.Markdown("<h1><center>Better Call Bloom!</center></h1>")
|
41 |
+
gr.Markdown("""<center>When in legal doubt, you better call BLOOM! Ask BLOOM any legal question:
|
42 |
+
<img src=https://huggingface.co/spaces/tomrb/bettercallbloom/resolve/main/img.jpeg width=200px></center>""")
|
43 |
+
gr.Markdown("""<center>***THIS IS NOT LEGAL ADVICE. Advice here is for informational purposes only and should not be considered final or official legal advice. See a local attorney for the best answer to your questions.***</center>""")
|
44 |
+
|
45 |
+
|
46 |
+
input_text = gr.Textbox(label="Input", lines=6)
|
47 |
+
buton = gr.Button("Submit ")
|
48 |
+
buton.click(generate, inputs=[input_text], outputs=output_text)
|
49 |
+
output_text = gr.Textbox(lines=6, label="Output")
|
50 |
+
|
51 |
+
|
52 |
+
gr.HTML("""
|
53 |
<div style="border-top: 1px solid #303030;">
|
54 |
<br>
|
55 |
+
<p>Space by: <a href="https://twitter.com/TomRBeaudoin"><img src="https://img.shields.io/twitter/follow/TomRBeaudoin?label=%40thomasrbeaudoin&style=social" alt="Twitter Follow"></a></p><br>
|
56 |
+
<a href="https://www.buymeacoffee.com/thomasrb" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 45px !important;width: 162px !important;" ></a><br><br>
|
57 |
+
<p><img src="https://visitor-badge.glitch.me/badge?page_id=tomrb.bettercallbloom" alt="visitors"></p>
|
58 |
</div>
|
59 |
""")
|
60 |
+
demo.launch(enable_queue=True, debug=True)
|
|