Spaces:
Runtime error
Runtime error
Commit
·
1d6fdeb
1
Parent(s):
ded58ed
Update app.py
Browse files
app.py
CHANGED
@@ -205,6 +205,10 @@ with gr.Blocks(css = """#col_container {width: 1400px; margin-left: auto; margin
|
|
205 |
#print(f"filename_{date}") 'filename_2023_01_12-03-29-22_AM'
|
206 |
return f"MedNER_{date}.csv"
|
207 |
|
|
|
|
|
|
|
|
|
208 |
|
209 |
inputs.submit(predict, [inputs, top_p, temperature,chat_counter, chatbot, state], [chatbot, state, chat_counter])
|
210 |
b1.click(predict, [inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter])
|
|
|
205 |
#print(f"filename_{date}") 'filename_2023_01_12-03-29-22_AM'
|
206 |
return f"MedNER_{date}.csv"
|
207 |
|
208 |
+
def group_by_entity(raw):
|
209 |
+
outputFile = get_base(get_today_filename())
|
210 |
+
out = defaultdict(int)
|
211 |
+
|
212 |
|
213 |
inputs.submit(predict, [inputs, top_p, temperature,chat_counter, chatbot, state], [chatbot, state, chat_counter])
|
214 |
b1.click(predict, [inputs, top_p, temperature, chat_counter, chatbot, state], [chatbot, state, chat_counter])
|