Update app.py
Browse files
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()
|