Vihang28 commited on
Commit
9bff71e
·
verified ·
1 Parent(s): 76e5a84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -72,9 +72,9 @@ def message_and_history(img, input, history, api_key):
72
  output = api_calling(img,inp, api_key)
73
  # if len(input) == 0:
74
  # input = "How many tiles need replacement?"
75
- history.append((input, output))
76
- else:
77
- history.append((input, output))
78
  return history, history
79
 
80
  block = gr.Blocks(theme=gr.themes.Glass(primary_hue="slate"))
 
72
  output = api_calling(img,inp, api_key)
73
  # if len(input) == 0:
74
  # input = "How many tiles need replacement?"
75
+ # history.append((input, output))
76
+ # else:
77
+ history.append((input, output))
78
  return history, history
79
 
80
  block = gr.Blocks(theme=gr.themes.Glass(primary_hue="slate"))