Filip
commited on
Commit
·
22dc869
1
Parent(s):
c5c8f7b
update to better finetome focus
Browse files
app.py
CHANGED
@@ -114,16 +114,11 @@ with demo:
|
|
114 |
outputs=output_text
|
115 |
)
|
116 |
|
117 |
-
#
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
complexity: "Intermediate",
|
123 |
-
audience: "General Public"
|
124 |
-
},
|
125 |
-
outputs=[input_text, instruction_type, complexity, audience]
|
126 |
-
)
|
127 |
|
128 |
# Launch the interface
|
129 |
demo.launch(
|
|
|
114 |
outputs=output_text
|
115 |
)
|
116 |
|
117 |
+
# Set default example values
|
118 |
+
input_text.value = "Change a car tire"
|
119 |
+
instruction_type.value = "How-to Guide"
|
120 |
+
complexity.value = "Intermediate"
|
121 |
+
audience.value = "General Public"
|
|
|
|
|
|
|
|
|
|
|
122 |
|
123 |
# Launch the interface
|
124 |
demo.launch(
|