Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ def load_model():
|
|
7 |
return model
|
8 |
|
9 |
|
10 |
-
input_component = gr.
|
11 |
-
output_component = gr.
|
12 |
|
13 |
iface = gr.Interface(fn=predict, inputs=input_component, outputs=output_component, title="OYI")
|
14 |
|
|
|
7 |
return model
|
8 |
|
9 |
|
10 |
+
input_component = gr.Textbox(lines=2, placeholder="Enter your input here...")
|
11 |
+
output_component = gr.Textbox()
|
12 |
|
13 |
iface = gr.Interface(fn=predict, inputs=input_component, outputs=output_component, title="OYI")
|
14 |
|