ParisNeo commited on
Commit
d7009d0
·
1 Parent(s): 06434f2

Added support for md files

Browse files
Files changed (1) hide show
  1. lightrag/api/static/index.html +2 -2
lightrag/api/static/index.html CHANGED
@@ -112,14 +112,14 @@
112
  <form id="uploadForm" class="space-y-4">
113
  <!-- Drop Zone -->
114
  <div class="drop-zone rounded-lg p-8 text-center cursor-pointer">
115
- <input type="file" id="fileInput" class="hidden" multiple accept=".pdf,.txt,.doc,.docx">
116
  <div class="flex flex-col items-center">
117
  <svg class="w-12 h-12 text-slate-400 mb-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
118
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
119
  d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" />
120
  </svg>
121
  <p class="text-slate-700 font-medium">Drop files here or click to upload</p>
122
- <p class="text-slate-500 text-sm mt-1">PDF, TXT, DOC, DOCX (Max 10MB)</p>
123
  </div>
124
  </div>
125
 
 
112
  <form id="uploadForm" class="space-y-4">
113
  <!-- Drop Zone -->
114
  <div class="drop-zone rounded-lg p-8 text-center cursor-pointer">
115
+ <input type="file" id="fileInput" class="hidden" multiple accept=".pdf,.md,.txt,.doc,.docx">
116
  <div class="flex flex-col items-center">
117
  <svg class="w-12 h-12 text-slate-400 mb-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
118
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
119
  d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" />
120
  </svg>
121
  <p class="text-slate-700 font-medium">Drop files here or click to upload</p>
122
+ <p class="text-slate-500 text-sm mt-1">PDF, MD, TXT, DOC, DOCX (Max 10MB)</p>
123
  </div>
124
  </div>
125