s3nh commited on
Commit
2386c63
1 Parent(s): c8563aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,7 +69,7 @@ def inference(text, input):
69
 
70
  io = gr.Interface(
71
  inference,
72
- gr.Textbox(
73
  lines = 3,
74
  max_lines = 10,
75
  placeholder = "Add question here",
@@ -82,7 +82,7 @@ io = gr.Interface(
82
  placeholder = "Add context here",
83
  interactive = True,
84
  show_label = False
85
- ),
86
  outputs = [gr.Textbox(lines = 1, label = 'Pythia410m', interactive = False)],
87
  cache_examples = False,
88
  )
 
69
 
70
  io = gr.Interface(
71
  inference,
72
+ inputs = [gr.Textbox(
73
  lines = 3,
74
  max_lines = 10,
75
  placeholder = "Add question here",
 
82
  placeholder = "Add context here",
83
  interactive = True,
84
  show_label = False
85
+ )],
86
  outputs = [gr.Textbox(lines = 1, label = 'Pythia410m', interactive = False)],
87
  cache_examples = False,
88
  )