Aditya DN commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,8 @@ 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) # Menetapkan output ke tipe teks
|
|
|
|
| 16 |
)
|
| 17 |
|
| 18 |
-
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), # Menetapkan output ke tipe teks
|
| 16 |
+
show_footer=False
|
| 17 |
)
|
| 18 |
|
| 19 |
+
iface.launch(show_api=False)
|