Filip commited on
Commit
22dc869
·
1 Parent(s): c5c8f7b

update to better finetome focus

Browse files
Files changed (1) hide show
  1. app.py +5 -10
app.py CHANGED
@@ -114,16 +114,11 @@ with demo:
114
  outputs=output_text
115
  )
116
 
117
- # Add some example inputs
118
- demo.load(
119
- fn=lambda: {
120
- input_text: "Change a car tire",
121
- instruction_type: "How-to Guide",
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(