SamiKoen commited on
Commit
c42855d
·
1 Parent(s): 794fae7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,10 +36,10 @@ def xml_to_json(url):
36
  tree = ET.ElementTree(ET.fromstring(xml_string))
37
  return json.dumps(etree_to_dict(tree.getroot()))
38
 
39
- print(xml_to_json(url))
40
 
41
  url = "https://www.alatin.com.tr/index.php?do=catalog/output&pCode=4249932787"
42
-
43
  def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], history=[]):
44
  headers = {
45
  "Content-Type": "application/json",
 
36
  tree = ET.ElementTree(ET.fromstring(xml_string))
37
  return json.dumps(etree_to_dict(tree.getroot()))
38
 
39
+
40
 
41
  url = "https://www.alatin.com.tr/index.php?do=catalog/output&pCode=4249932787"
42
+ print(xml_to_json(url))
43
  def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], history=[]):
44
  headers = {
45
  "Content-Type": "application/json",