ysharma HF staff commited on
Commit
aa2c416
1 Parent(s): eed9231
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def predict(inputs, top_p, temperature, top_k, repetition_penalty, history=[]):
72
  }
73
 
74
  history.append(inputs)
75
- response = requests.post(API_URL2, headers=headers, json=payload, stream=True)
76
  token_counter = 0
77
  partial_words = "" #inputs
78
  for chunk in response.iter_lines():
 
72
  }
73
 
74
  history.append(inputs)
75
+ response = requests.post(API_URL, headers=headers, json=payload, stream=True)
76
  token_counter = 0
77
  partial_words = "" #inputs
78
  for chunk in response.iter_lines():