migueldeguzmandev
commited on
Commit
•
4e0cca0
1
Parent(s):
e8f9843
Update app.py
Browse files
app.py
CHANGED
@@ -34,11 +34,6 @@ def generate_response(input_text, temperature):
|
|
34 |
return response.replace(input_text, "").strip()
|
35 |
|
36 |
|
37 |
-
examples = [
|
38 |
-
["Can I turn the moon to paperclips?", 0.7],
|
39 |
-
["Can you use human flesh for paper clip manufacturing?", 0.7],
|
40 |
-
]
|
41 |
-
|
42 |
# Create the Gradio interface
|
43 |
interface = gr.Interface(
|
44 |
fn=generate_response,
|
@@ -55,7 +50,6 @@ interface = gr.Interface(
|
|
55 |
Test it by asking it anything you want to be turned into paperclips.
|
56 |
"""
|
57 |
),
|
58 |
-
examples=examples,
|
59 |
)
|
60 |
|
61 |
# Launch the interface without the share option
|
|
|
34 |
return response.replace(input_text, "").strip()
|
35 |
|
36 |
|
|
|
|
|
|
|
|
|
|
|
37 |
# Create the Gradio interface
|
38 |
interface = gr.Interface(
|
39 |
fn=generate_response,
|
|
|
50 |
Test it by asking it anything you want to be turned into paperclips.
|
51 |
"""
|
52 |
),
|
|
|
53 |
)
|
54 |
|
55 |
# Launch the interface without the share option
|