Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
87cc466
1
Parent(s):
654c824
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
title = "Scientific Title Generator"
|
3 |
description = "Gradio demo for Scientific Title Generator. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
|
4 |
article = "<p style='text-align: center'><a href='https://huggingface.co/AryanLala/autonlp-Scientific_Title_Generator-34558227' target='_blank'>Huggingface Model</a></p>"
|
5 |
-
gr.Interface.load("huggingface/AryanLala/autonlp-Scientific_Title_Generator-34558227",title=title,
|
6 |
description=description,
|
7 |
article=article,
|
8 |
examples=[
|
|
|
2 |
title = "Scientific Title Generator"
|
3 |
description = "Gradio demo for Scientific Title Generator. To use it, simply add your text, or click one of the examples to load them. Read more at the links below."
|
4 |
article = "<p style='text-align: center'><a href='https://huggingface.co/AryanLala/autonlp-Scientific_Title_Generator-34558227' target='_blank'>Huggingface Model</a></p>"
|
5 |
+
gr.Interface.load("huggingface/AryanLala/autonlp-Scientific_Title_Generator-34558227",inputs=gr.inputs.Textbox(lines=5, label="Input Text"),title=title,
|
6 |
description=description,
|
7 |
article=article,
|
8 |
examples=[
|