Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,8 +43,8 @@ def headline_writer1(text):
|
|
| 43 |
|
| 44 |
headline1 = gr.Interface(
|
| 45 |
fn=headline_writer1,
|
| 46 |
-
inputs=gr.
|
| 47 |
-
outputs=gr.
|
| 48 |
)
|
| 49 |
|
| 50 |
|
|
@@ -71,8 +71,8 @@ def headline_writer2(text):
|
|
| 71 |
|
| 72 |
headline2 = gr.Interface(
|
| 73 |
fn=headline_writer2,
|
| 74 |
-
inputs=gr.
|
| 75 |
-
outputs=gr.
|
| 76 |
)
|
| 77 |
|
| 78 |
|
|
@@ -101,8 +101,8 @@ def headline_writer3(text):
|
|
| 101 |
|
| 102 |
headline3 = gr.Interface(
|
| 103 |
fn=headline_writer3,
|
| 104 |
-
inputs=gr.
|
| 105 |
-
outputs=gr.
|
| 106 |
)
|
| 107 |
|
| 108 |
|
|
|
|
| 43 |
|
| 44 |
headline1 = gr.Interface(
|
| 45 |
fn=headline_writer1,
|
| 46 |
+
inputs=gr.Textbox(),
|
| 47 |
+
outputs=gr.Textbox(label=""),
|
| 48 |
)
|
| 49 |
|
| 50 |
|
|
|
|
| 71 |
|
| 72 |
headline2 = gr.Interface(
|
| 73 |
fn=headline_writer2,
|
| 74 |
+
inputs=gr.Textbox(),
|
| 75 |
+
outputs=gr.Textbox(label=""),
|
| 76 |
)
|
| 77 |
|
| 78 |
|
|
|
|
| 101 |
|
| 102 |
headline3 = gr.Interface(
|
| 103 |
fn=headline_writer3,
|
| 104 |
+
inputs=gr.Textbox(),
|
| 105 |
+
outputs=gr.Textbox(label=""),
|
| 106 |
)
|
| 107 |
|
| 108 |
|