Update app.py
Browse files
app.py
CHANGED
@@ -12,8 +12,7 @@ def Prediction(text):
|
|
12 |
iface = gr.Interface(
|
13 |
fn=Prediction,
|
14 |
inputs=gr.Textbox(label="Input", placeholder="Enter Text Here", show_copy_button=True), # Menggunakan input textbox dengan label dan tombol salin
|
15 |
-
outputs=gr.Textbox(type="text", label="Output", show_copy_button=True)
|
16 |
-
show_footer=False
|
17 |
)
|
18 |
|
19 |
-
iface.launch(show_api=False)
|
|
|
12 |
iface = gr.Interface(
|
13 |
fn=Prediction,
|
14 |
inputs=gr.Textbox(label="Input", placeholder="Enter Text Here", show_copy_button=True), # Menggunakan input textbox dengan label dan tombol salin
|
15 |
+
outputs=gr.Textbox(type="text", label="Output", show_copy_button=True)
|
|
|
16 |
)
|
17 |
|
18 |
+
iface.launch(show_api=False, show_interface=False)
|