paopaoka3325 commited on
Commit
969d05d
·
1 Parent(s): 48963dc

Add application files

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,10 +65,10 @@ def greet(name1, name2):
65
 
66
  # Define 5 text input boxes with labels
67
  input_boxes = [
68
- gr.inputs.Textbox(lines=20, label="openai api key"),
69
  gr.inputs.Textbox(lines=20,label="Input cencer report"),
70
  ]
71
 
72
- iface = gr.Interface(fn=greet, inputs=input_boxes, outputs="text")
73
  iface.launch()
74
 
 
65
 
66
  # Define 5 text input boxes with labels
67
  input_boxes = [
68
+ gr.inputs.Textbox(label="openai api key"),
69
  gr.inputs.Textbox(lines=20,label="Input cencer report"),
70
  ]
71
 
72
+ iface = gr.Interface(fn=greet, inputs=input_boxes, outputs=gr.outputs.Textbox(height=10, label="Output"))
73
  iface.launch()
74