Spaces:
Running
Running
Commit
·
5daf42e
1
Parent(s):
21cbcb5
added extensions
Browse files
app.py
CHANGED
@@ -117,7 +117,8 @@ def main():
|
|
117 |
)
|
118 |
uploaded_file = st.file_uploader(
|
119 |
"Upload File (optional)",
|
120 |
-
|
|
|
121 |
)
|
122 |
|
123 |
# Display chat messages
|
|
|
117 |
)
|
118 |
uploaded_file = st.file_uploader(
|
119 |
"Upload File (optional)",
|
120 |
+
type=['txt', 'py', 'md', 'swift', 'java', 'js', 'ts', 'rb', 'go',
|
121 |
+
'php', 'c', 'cpp', 'h', 'hpp', 'cs', 'html', 'css', 'kt']
|
122 |
)
|
123 |
|
124 |
# Display chat messages
|