Spaces:
Sleeping
Sleeping
nicohrubec
commited on
Commit
•
f09703d
1
Parent(s):
08bdaf1
remove examples
Browse files
app.py
CHANGED
@@ -39,22 +39,12 @@ def generate_text(prompt="Who is the CEO of Apple?"):
|
|
39 |
return cleaned_output_text
|
40 |
|
41 |
|
42 |
-
description = "
|
43 |
-
|
44 |
-
examples = [
|
45 |
-
["What is the capital of France?", "The capital of France is Paris."],
|
46 |
-
[
|
47 |
-
"Who wrote the novel 'Pride and Prejudice'?",
|
48 |
-
"The novel 'Pride and Prejudice' was written by Jane Austen.",
|
49 |
-
],
|
50 |
-
["What is the square root of 64?", "The square root of 64 is 8."],
|
51 |
-
]
|
52 |
|
53 |
gradio_interface = gr.Interface(
|
54 |
fn=generate_text,
|
55 |
inputs="text",
|
56 |
outputs="text",
|
57 |
-
|
58 |
-
title="Vicuna-7B",
|
59 |
)
|
60 |
gradio_interface.launch()
|
|
|
39 |
return cleaned_output_text
|
40 |
|
41 |
|
42 |
+
description = "Zephyr-7B"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
gradio_interface = gr.Interface(
|
45 |
fn=generate_text,
|
46 |
inputs="text",
|
47 |
outputs="text",
|
48 |
+
title="Zephyr-7B",
|
|
|
49 |
)
|
50 |
gradio_interface.launch()
|