Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,6 @@ def process_nlp(system_message):
|
|
84 |
colorized_text = colorize_text(system_message['content'])
|
85 |
return colorized_text
|
86 |
|
87 |
-
|
88 |
def train(text):
|
89 |
now_et = datetime.now(timezone(timedelta(hours=-4)))
|
90 |
published_date = now_et.strftime('%m-%d-%y %H:%M')
|
@@ -262,7 +261,7 @@ iface = gr.Interface(
|
|
262 |
inputs=[audio_input, text_input],
|
263 |
outputs=[output_text, output_html], # Add both output components
|
264 |
title="Hold On, Pain Ends (HOPE)",
|
265 |
-
description="Talk to Your Tutor MCAT HOPE",
|
266 |
theme="compact",
|
267 |
layout="vertical",
|
268 |
allow_flagging=False
|
|
|
84 |
colorized_text = colorize_text(system_message['content'])
|
85 |
return colorized_text
|
86 |
|
|
|
87 |
def train(text):
|
88 |
now_et = datetime.now(timezone(timedelta(hours=-4)))
|
89 |
published_date = now_et.strftime('%m-%d-%y %H:%M')
|
|
|
261 |
inputs=[audio_input, text_input],
|
262 |
outputs=[output_text, output_html], # Add both output components
|
263 |
title="Hold On, Pain Ends (HOPE)",
|
264 |
+
description="Talk to Your Tutor MCAT HOPE. If you want to colorize your note, type COLORIZE in the first line of your input.",
|
265 |
theme="compact",
|
266 |
layout="vertical",
|
267 |
allow_flagging=False
|