Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Peter
commited on
Commit
·
d7c315a
1
Parent(s):
edb05fc
:children_crossing: add link to text generation params
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ def load_uploaded_file(file_obj):
|
|
122 |
load_uploaded_file - process an uploaded file
|
123 |
|
124 |
Args:
|
125 |
-
file_obj (
|
126 |
|
127 |
Returns:
|
128 |
str, the uploaded file contents
|
@@ -159,7 +159,7 @@ if __name__ == "__main__":
|
|
159 |
|
160 |
gr.Markdown("## Load Inputs & Select Parameters")
|
161 |
gr.Markdown(
|
162 |
-
"Enter text below in the text area. The text will be summarized using the selected parameters. Optionally load an example from the list below or upload a file."
|
163 |
)
|
164 |
|
165 |
model_size = gr.Radio(
|
|
|
122 |
load_uploaded_file - process an uploaded file
|
123 |
|
124 |
Args:
|
125 |
+
file_obj (list): Gradio file object inside a list
|
126 |
|
127 |
Returns:
|
128 |
str, the uploaded file contents
|
|
|
159 |
|
160 |
gr.Markdown("## Load Inputs & Select Parameters")
|
161 |
gr.Markdown(
|
162 |
+
"Enter text below in the text area. The text will be summarized [using the selected parameters](https://huggingface.co/blog/how-to-generate). Optionally load an example from the list below or upload a file."
|
163 |
)
|
164 |
|
165 |
model_size = gr.Radio(
|