Skip to content

Commit

Permalink
fix: remove tqdm for watson studio support (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhang13 authored Aug 21, 2020
1 parent 714306e commit e183b0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/python/computation_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import itertools
import numpy as np
from IPython.display import HTML
from tqdm.notebook import tqdm

MAX_DISAMBIGUATION_LENGTH = 5
MAX_MORE_OPTION_LENGTH = 5
Expand Down Expand Up @@ -438,7 +437,7 @@ def extract_disambiguation_utterances(df_formatted):
num_both_utterances = 0
num_more_conversations = 0
num_both_conversations = 0
for conversation_id in tqdm(conversation_ids):
for conversation_id in conversation_ids:
utterances = df_formatted.loc[df_formatted.response_context_conversation_id == conversation_id].sort_values(
by='request_timestamp').reset_index(drop=True)
utterances['suggestion_list'] = np.empty((len(utterances), 0)).tolist()
Expand Down

0 comments on commit e183b0d

Please sign in to comment.