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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -36,6 +36,8 @@ def xml_to_json(url):
36
  tree = ET.ElementTree(ET.fromstring(xml_string))
37
  return json.dumps(etree_to_dict(tree.getroot()))
38
 
 
 
39
  url = "https://www.alatin.com.tr/index.php?do=catalog/output&pCode=4249932787"
40
 
41
  def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], history=[]):
 
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=[]):