Spaces:
Sleeping
Sleeping
kz209
commited on
Commit
•
535136b
1
Parent(s):
5a4b599
change input value
Browse files- README.md +4 -0
- app.py +1 -2
- pages/summarization_playground.py +1 -1
README.md
CHANGED
@@ -75,3 +75,7 @@ Each member should create a branch with their own name and commit to that branch
|
|
75 |
### Bug Fixes and Questions
|
76 |
|
77 |
For bug fixes or questions, either open an issue or create a branch prefixed with `bug` in name.
|
|
|
|
|
|
|
|
|
|
75 |
### Bug Fixes and Questions
|
76 |
|
77 |
For bug fixes or questions, either open an issue or create a branch prefixed with `bug` in name.
|
78 |
+
|
79 |
+
## Accknowledgement
|
80 |
+
|
81 |
+
Thanks for the GPU grant from Huggingface.
|
app.py
CHANGED
@@ -6,8 +6,7 @@ from pages.leaderboard import create_leaderboard
|
|
6 |
from pages.batch_evaluation import create_batch_evaluation_interface
|
7 |
|
8 |
def welcome_message():
|
9 |
-
return """
|
10 |
-
## Summarization Demo
|
11 |
|
12 |
This application is for **internal use** and is designed to facilitate **fast prototyping** and **experimentation.**
|
13 |
|
|
|
6 |
from pages.batch_evaluation import create_batch_evaluation_interface
|
7 |
|
8 |
def welcome_message():
|
9 |
+
return """## Summarization Demo
|
|
|
10 |
|
11 |
This application is for **internal use** and is designed to facilitate **fast prototyping** and **experimentation.**
|
12 |
|
pages/summarization_playground.py
CHANGED
@@ -70,7 +70,7 @@ def create_summarization_interface():
|
|
70 |
|
71 |
Template_text = gr.Textbox(value="""Summarize the following dialogue""", label='Input Prompting Template', lines=8, placeholder='Input your prompts')
|
72 |
|
73 |
-
input_text = gr.Textbox(label="Input Text", lines=10, placeholder="Enter text here...")
|
74 |
submit_button = gr.Button("✨ Submit ✨")
|
75 |
output = gr.Markdown()
|
76 |
|
|
|
70 |
|
71 |
Template_text = gr.Textbox(value="""Summarize the following dialogue""", label='Input Prompting Template', lines=8, placeholder='Input your prompts')
|
72 |
|
73 |
+
input_text = gr.Textbox(label="Input Text", lines=10, placeholder="Enter text here...", value=random.choice(dataset)['dialogue'])
|
74 |
submit_button = gr.Button("✨ Submit ✨")
|
75 |
output = gr.Markdown()
|
76 |
|