Spaces:
Sleeping
Sleeping
Alexandre Gazola
commited on
Commit
·
e6ea6f7
1
Parent(s):
b2fa58d
ok
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
85 |
question_text_for_agent = question_text
|
86 |
|
87 |
if file_name:
|
88 |
-
print(f"The following question has attatched file
|
89 |
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
90 |
if file_name.endswith(('.mp3', '.xlsx', '.png')):
|
91 |
file_path = os.path.join(BASE_DIR, 'files', f'{file_name}.b64')
|
|
|
85 |
question_text_for_agent = question_text
|
86 |
|
87 |
if file_name:
|
88 |
+
print(f"The following question has attatched file: {question_text[:50]}")
|
89 |
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
90 |
if file_name.endswith(('.mp3', '.xlsx', '.png')):
|
91 |
file_path = os.path.join(BASE_DIR, 'files', f'{file_name}.b64')
|