Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ headline2 = gr.Interface(
|
|
| 77 |
)
|
| 78 |
|
| 79 |
|
| 80 |
-
modchoice_3 = "chinhon/
|
| 81 |
|
| 82 |
def commentaries_headline3(text):
|
| 83 |
input_text = clean_text(text)
|
|
@@ -103,7 +103,7 @@ def commentaries_headline3(text):
|
|
| 103 |
headline3 = gr.Interface(
|
| 104 |
fn=commentaries_headline3,
|
| 105 |
inputs=gr.inputs.Textbox(),
|
| 106 |
-
outputs=gr.outputs.Textbox(label=" | Model: Fine tuned
|
| 107 |
)
|
| 108 |
|
| 109 |
#define Gradio interface for 3 parallel apps
|
|
|
|
| 77 |
)
|
| 78 |
|
| 79 |
|
| 80 |
+
modchoice_3 = "chinhon/bart-large-commentaries_hdwriter"
|
| 81 |
|
| 82 |
def commentaries_headline3(text):
|
| 83 |
input_text = clean_text(text)
|
|
|
|
| 103 |
headline3 = gr.Interface(
|
| 104 |
fn=commentaries_headline3,
|
| 105 |
inputs=gr.inputs.Textbox(),
|
| 106 |
+
outputs=gr.outputs.Textbox(label=" | Model: Fine tuned bart-large"),
|
| 107 |
)
|
| 108 |
|
| 109 |
#define Gradio interface for 3 parallel apps
|