Spaces:
Runtime error
Runtime error
Commit
Β·
8343a97
1
Parent(s):
3928a9f
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def process_example(args):
|
|
| 45 |
|
| 46 |
css = ".generating {visibility: hidden}"
|
| 47 |
|
| 48 |
-
# Based on the gradio theming guide
|
| 49 |
class SeafoamCustom(Base):
|
| 50 |
def __init__(
|
| 51 |
self,
|
|
@@ -100,6 +100,7 @@ with gr.Blocks(theme=seafoam, analytics_enabled=False, css=css) as demo:
|
|
| 100 |
with gr.Column():
|
| 101 |
gr.Markdown(
|
| 102 |
""" ## Dolly 2.0
|
|
|
|
| 103 |
Dolly 2.0 is a 12B parameter language model based on the EleutherAI pythia model family and fine-tuned exclusively on a new, high-quality human generated instruction following dataset, crowdsourced among Databricks employees. For more details, please refer to the [model card](https://huggingface.co/databricks/dolly-v2-12b)
|
| 104 |
|
| 105 |
Type in the box below and click the button to generate answers to your most pressing questions!
|
|
@@ -123,6 +124,7 @@ with gr.Blocks(theme=seafoam, analytics_enabled=False, css=css) as demo:
|
|
| 123 |
fn=process_example,
|
| 124 |
outputs=[output],
|
| 125 |
)
|
|
|
|
| 126 |
|
| 127 |
|
| 128 |
submit.click(generate, inputs=[instruction], outputs=[output])
|
|
|
|
| 45 |
|
| 46 |
css = ".generating {visibility: hidden}"
|
| 47 |
|
| 48 |
+
# Based on the gradio theming guide and borrowed from https://huggingface.co/spaces/shivi/dolly-v2-demo
|
| 49 |
class SeafoamCustom(Base):
|
| 50 |
def __init__(
|
| 51 |
self,
|
|
|
|
| 100 |
with gr.Column():
|
| 101 |
gr.Markdown(
|
| 102 |
""" ## Dolly 2.0
|
| 103 |
+
|
| 104 |
Dolly 2.0 is a 12B parameter language model based on the EleutherAI pythia model family and fine-tuned exclusively on a new, high-quality human generated instruction following dataset, crowdsourced among Databricks employees. For more details, please refer to the [model card](https://huggingface.co/databricks/dolly-v2-12b)
|
| 105 |
|
| 106 |
Type in the box below and click the button to generate answers to your most pressing questions!
|
|
|
|
| 124 |
fn=process_example,
|
| 125 |
outputs=[output],
|
| 126 |
)
|
| 127 |
+
|
| 128 |
|
| 129 |
|
| 130 |
submit.click(generate, inputs=[instruction], outputs=[output])
|