Spaces:
Running
Running
Commit
·
969d05d
1
Parent(s):
48963dc
Add application files
Browse files
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(
|
69 |
gr.inputs.Textbox(lines=20,label="Input cencer report"),
|
70 |
]
|
71 |
|
72 |
-
iface = gr.Interface(fn=greet, inputs=input_boxes, outputs="
|
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 |
|