Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -45,20 +45,10 @@ def generate_text(prompt="Who is the CEO of Apple?"):
|
|
45 |
|
46 |
description = "Starling-7B GGUF"
|
47 |
|
48 |
-
examples = [
|
49 |
-
["What is the capital of France?", "The capital of France is Paris."],
|
50 |
-
[
|
51 |
-
"Who wrote the novel 'Pride and Prejudice'?",
|
52 |
-
"The novel 'Pride and Prejudice' was written by Jane Austen.",
|
53 |
-
],
|
54 |
-
["What is the square root of 64?", "The square root of 64 is 8."],
|
55 |
-
]
|
56 |
-
|
57 |
gradio_interface = gr.Interface(
|
58 |
fn=generate_text,
|
59 |
inputs="text",
|
60 |
outputs="text",
|
61 |
-
examples=examples,
|
62 |
title="Starling-7B GGUF",
|
63 |
)
|
64 |
gradio_interface.launch()
|
|
|
45 |
|
46 |
description = "Starling-7B GGUF"
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
gradio_interface = gr.Interface(
|
49 |
fn=generate_text,
|
50 |
inputs="text",
|
51 |
outputs="text",
|
|
|
52 |
title="Starling-7B GGUF",
|
53 |
)
|
54 |
gradio_interface.launch()
|