Obotu commited on
Commit
e45803f
1 Parent(s): f7da03d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def load_model():
10
  input_component = gr.Textbox(lines=2, placeholder="Enter your input here...")
11
  output_component = gr.Textbox()
12
 
13
- iface = gr.Interface(inputs=input_component, outputs=output_component, title="OYI")
14
 
15
  if __name__ == "__main__":
16
  iface.launch()
 
10
  input_component = gr.Textbox(lines=2, placeholder="Enter your input here...")
11
  output_component = gr.Textbox()
12
 
13
+ iface = gr.Interface(fn, inputs=input_component, outputs=output_component, title="OYI")
14
 
15
  if __name__ == "__main__":
16
  iface.launch()