Spaces:
Sleeping
Sleeping
Alex Stern
commited on
Commit
·
d4fb664
1
Parent(s):
b1b0f5e
Update app.py
Browse files
app.py
CHANGED
@@ -150,9 +150,11 @@ def get_email_length(email_content, length):
|
|
150 |
return email_length_options.get(length, 50)
|
151 |
|
152 |
|
|
|
153 |
def gradio_interface():
|
154 |
# Define the Gradio interface for the email response generator
|
155 |
email_example = (
|
|
|
156 |
"Hello,\n\n"
|
157 |
"I recently watched your documentary 'A perfect 14' and found it extremely "
|
158 |
"eye-opening regarding what plus-models have to go through. I appreciate TogetherTV's effort to shed light "
|
@@ -162,6 +164,7 @@ def gradio_interface():
|
|
162 |
)
|
163 |
|
164 |
email_response_bullet_points= (
|
|
|
165 |
"Thanks!\n"
|
166 |
"We agree with you.\n"
|
167 |
"'Gamechangers: Vigilante' is a good one to watch"
|
@@ -186,5 +189,7 @@ def gradio_interface():
|
|
186 |
# Launch the Gradio interface
|
187 |
interface.launch(share=True)
|
188 |
|
|
|
|
|
189 |
if __name__ == "__main__":
|
190 |
gradio_interface()
|
|
|
150 |
return email_length_options.get(length, 50)
|
151 |
|
152 |
|
153 |
+
|
154 |
def gradio_interface():
|
155 |
# Define the Gradio interface for the email response generator
|
156 |
email_example = (
|
157 |
+
"EXAMPLE:\n"
|
158 |
"Hello,\n\n"
|
159 |
"I recently watched your documentary 'A perfect 14' and found it extremely "
|
160 |
"eye-opening regarding what plus-models have to go through. I appreciate TogetherTV's effort to shed light "
|
|
|
164 |
)
|
165 |
|
166 |
email_response_bullet_points= (
|
167 |
+
"EXAMPLE:\n"
|
168 |
"Thanks!\n"
|
169 |
"We agree with you.\n"
|
170 |
"'Gamechangers: Vigilante' is a good one to watch"
|
|
|
189 |
# Launch the Gradio interface
|
190 |
interface.launch(share=True)
|
191 |
|
192 |
+
|
193 |
+
|
194 |
if __name__ == "__main__":
|
195 |
gradio_interface()
|